Type Boolean Library widget.* Revision 2017.3178 Keywords widget, switch, radio, on-off, checkbox, SwitchWidget, isOn See also widget.newSwitch() SwitchWidget
The read-only state of a SwitchWidget, either
For fine-tuning purposes, this value differs slightly depending on whether the
onRelease listener is specified in the switch constructor. When reading this property via the
onPress listener type, the current state of the switch is reported, meaning its state before the actual switch state change occurs. When reading this property via the
onRelease listener type, the resulting state of the switch is reported, meaning its state after the switch state change occurs.