RadioButton
A radio button. Selecting a radio button de-selects all its siblings (i.e. all radio buttons within the same parent). Includes Widget API
Properties
selection
Type: boolean, default: false
The checked state of the radio button.
text
Type: string
The label text of the radio button.
Events
“change:selection” (widget, selection, options)
Parameters:
- widget: RadioButton
- selection: boolean, the new value of selection.
- options: Object
Fired when the selection property changes.
“select” (widget, selection, options)
Parameters:
- widget: RadioButton
- selection: boolean, the new value of selection.
- options: Object
Fired when the radio button is selected or deselected by the user.