moz-toggle.css |
|
5265 |
moz-toggle.figma.ts |
|
1912 |
moz-toggle.mjs |
A simple toggle element that can be used to switch between two states.
@tagname moz-toggle
@property {boolean} pressed - Whether or not the element is pressed.
@property {boolean} disabled - Whether or not the element is disabled.
@property {string} label - The label text.
@property {string} description - The description text.
@property {string} ariaLabel - The aria-label text when there is no visible label.
@property {string} ariaDescription - The aria-description text when there is no visible description.
@slot support-link - Used to append a moz-support-link to the description.
@fires toggle
Custom event indicating that the toggle's pressed state has changed.
|
2417 |
moz-toggle.stories.mjs |
|
4059 |
README.stories.md |
|
3891 |