On/Off switch
Last updated
Last updated
The Toggle Switch Widget is a user-friendly component that allows for easy toggling of boolean values. With smooth animations and customizable text, it provides a sleek and interactive solution for controlling settings and preferences.
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.