Module: switch/Switch

A boolean switch, representing a dichotome state.

Source:
See:

Members

(static, constant) Switch

Internal state is checked:boolean.

Properties:
Name Type Attributes Description
checked= boolean <optional>

defines if the switch is checked by default.

Source:
Fires:
  • event:change on toggle

Events

change

Change event. Relates to the underlying button element.

Type:
  • CustomEvent
Properties:
Name Type Description
detail Object

the transported data

Source: