Skip to main content

Switch

It is one of the switches in the vehicle that requires manual operation and is used to change the state through On/Off.

Switch1.svg

1. Root : The minimum container area that wraps the switch component
2. Handle : A visual element involved in controlling the switch
3. Track : A visual element that indicates the current state of the switch



States

StateValueDescription
CheckedOn/OffSwitches between states depending on whether the switch is ON or OFF
PressedBooleanChanges to True when being clicked via touch
DisabledBooleanIf True, the button is in a non-controllable state
InvalidBooleanIf True, indicates the value is invalid

Behaviors

Switch2.svg Switch3.svg