On/Off switch
Last updated
Last updated
Property | Type | Description |
---|---|---|
Data field
datafield, boolean
Use the on/off switch to change the value of this datafield (boolean)
On change
dropdown
When the user switches the on/off button, the following actions can be performed: do nothing, refresh screen or execute flowchart.
Animation time (ms)
number
The duration of the animation in milliseconds when switching between on and off. Minimum value: 0. Maximum value: 500.
On text
expression, text
Display this text when the switch is 'on'. A long text value results in a large on/off switch
Off text
Expression, text
Display this text when the switch is 'off'. A long text value results in a large on/off switch.