UIToggle
Create a simple toggle component
Since: 7.0.0 (4.9.0)
Name | Type | Default | Description |
---|---|---|---|
id |
| Required - Id of the toggle | |
label |
| Required - The text label | |
alignRight |
|
| Set to true to have label place to the right |
checked |
|
| Wether the toggle is on or off |
disabled |
|
| Wether the toggle is disabled or not |
tabIndex |
| Apply specific tab index | |
size |
|
| Normal |
icon |
| Icon name from style-guide. Example | |
onToggle |
| Callback for when the toggle value changes |
Example
Last updated