Ubuntu.Components.Switch

Switch is a component with two states, checked or unchecked. It can be used to set boolean options. The behavior is the same as CheckBox, the only difference is the graphical style. More...

Import Statement: import Ubuntu.Components 1.3
Inherits:

CheckBox

Detailed Description

See also the Design Guidelines on selection.

Example:

Item {
Switch {
checked: true
}
}