class
Switch

package haxe.ui.components

↪ haxe.ui.components.Switch

A switch component that can be used to toggle between two states.

behaviour
bindable
clonable
selected:Bool
Whether the switch is in the on state.

true if it is, false otherwise.
behaviour
bindable
clonable
textOff:String
The text that displays on the switch when it is in the off state
behaviour
bindable
clonable
textOn:String
The text that displays on the switch when it is in the on state


override
cloneComponent():Switch