Comments (2)
open
follows the spec for "Boolean attributes" in HTML.
<sl-alert open="false" id="alert1">
the open="false"
is actually setting open to true.
instead, just don't set the "open" attribute.
<sl-alert open="" id="alert1"> <!-- open -->
<sl-alert id="alert1"> <!-- closed -->
from shoelace.
Hey there Konnor.
Excellent. Thank you. I will amend my example.
Jerry.
from shoelace.
Related Issues (20)
- Dropdown - Focus/Highlight not visible for sl-menu-items in Safari Browser HOT 3
- Radio group should not listen to nested children under another radio group (aka: allow nesting) HOT 7
- Required Fields form validation HOT 2
- `sl-change` doesn't fire on change, it fires on blur HOT 2
- Color Picker does not take space into account HOT 4
- Select: Form-control navigation on iOS jumps over sl-select HOT 1
- Select: New suffix slot can collide with clear button HOT 9
- <Details> caret has broken layout on safari
- sl-show and sl-after-show dialogs events occurring multiple times when hovering over sl-copy-button
- Disabled <sl-button> allows execution of href HOT 7
- Weird scrollbar behaviour for sl-tree
- Do we have acronyms select in the select component HOT 1
- The icon library mutator is only applied to the first of multiple identical icons HOT 1
- stopPropagation() not working for children of SlTreeItem HOT 9
- TabGroup tab selection misaligned after tab text is updated HOT 1
- Select prefix padding is broken when it has multiple attribute HOT 1
- Disabled Link button is NOT disabled HOT 2
- listbox of sl-select renders behind other elements with container-type set on parent HOT 3
- sl-select is not looping sl-options on keydown HOT 1
- Focusing a control too quickly throws an error HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shoelace.