Switch
The switch is a component that accepts a boolean value (true/false).
Dialog Property
Item | Input value | Option | Default value |
---|---|---|---|
ID | string | automatic | |
Label | string | Switch | |
Width | string | 222 | |
Height | string | 40 | |
X | string | ||
Y | string | ||
Color | string color picker | ||
Background Color | string color picker | ||
Label Color | string color picker | ||
Disabled | boolean | off | |
Read Only | boolean | off | |
Visibility | boolean | on | |
Horizontal Alignment | Select | • Left • Center • Right | Left |
Vertical Alignment | Select | • Top • Middle • Bottom | Top |
Helper Text | string | ||
Value | boolean | off | |
Error | - | ||
Change Event | select | NONE |
Action Property
Item | Properties | Data Type | Options | Default value |
---|---|---|---|---|
ID | id | string | automatic | |
Label | label | string | Switch | |
Width | width | string | 222 | |
Height | height | string | 40 | |
X | x | string | ||
Y | y | string | ||
Color | color | string | ||
Background Color | backgroundColor | string | ||
Label Color | labelColor | string | ||
Disabled | disabled | boolean | false | |
Read Only | readOnly | boolean | false | |
Visibility | visibility | boolean | true | |
Horizontal Alignment | horizontalAlignment | string | • left • center • right | left |
Vertical Alignment | verticalAlignment | string | • top • middle • bottom | top |
Helper Text | helperText | string | ||
Value | value | boolean | false | |
Error | error | boolean |
Event
Event name | Description |
---|---|
onchange | Occurs when a value change is made. |