Switch Facelet
The Switch Facelet renders a toggle switch button that can be tapped to change between on and off states.
Configuration
-
Position
X, Y position of the top-left corner in screen coordinates [mil]. -
Width
Width of the switch in [mil]. The height is automatically calculated. -
Input
The input source expression. Values1,onswitch to on state; values0,offor empty switch to off state. -
Output On
The provider output expression that is triggered when the switch is turned on. -
Output Off
The provider output expression that is triggered when the switch is turned off. -
Color On
The background color when the switch is in the on state. -
Color Off
The background color when the switch is in the off state. -
Handle Color
The color of the switch handle. -
Smooth
Enable smooth transition animation between on and off states. -
Visibility
A condition expression. The Facelet is displayed if this evaluates to1. -
Display Mode
Mode Description Normal
This Facelet is only displayed in interactive (normal) mode.
Ambient
This Facelet is only displayed in ambient mode.
Always
This Facelet is displayed in both interactive and ambient mode.
-
Ambient Color
Select a color for the ambient mode.
0uses the common ambient color of the face settings.