Switch
A switch widget that can be toggled. Includes Widget API
Properties
selection
Type: boolean, default: false
The checked state of the switch.
Events
“change:selection” (widget, selection, options)
Parameters:
Fired when the selection property changes.
“select” (widget, selection, options)
Parameters:
Fired when the switch is toggled by the user.