Class: Switch

ui.Switch

new ui.Switch ()

Element representing a UI switch for switching on and off.

Properties:
Name Type Description
checked bool

(default: false) Whether the switch is currently in checked state (on).

styleOfBackground template

The background style template.

styleOfHandle template

The handle style template.

Extends