| label |
string |
labelText |
Text label to display. Manually editing this field will set the inheritLabelFromData parameter to false |
| inheritLabelFromData |
boolean |
True |
When set to true, the label will be inherited from the connected variable |
| displayLabel |
boolean |
True |
If true, the label is displayed on the left or right side of the switch |
| labelPosition |
string |
right |
Label position. Possible values: left, right |
| labelFontSize |
number |
0.5 |
Label font-size |
| labelColor |
string |
var(--widget-label-color) |
Label text color |
| labelFontFamily |
string |
var(--widget-font-family) |
Label font-family. Possible values: Arial, Verdana, Tahoma, Trebuchet MS, Times New Roman, Georgia, Garamond, Courier New, Brush Script MT, Montserrat, ralway, Lucida Grande, Lato, Menlo |
| switchWidthProportion |
string |
30% |
switch width proportion with respect to the widget width. The value should be in percentage |
| switchOnColor |
string |
var(--widget-input-checked-color) |
The on color of the switch |
| switchOffColor |
string |
var(--widget-input-unchecked-color) |
The off color of the switch |