HoopsSwitchElement

class ui.hoopsSwitch.HoopsSwitchElement()

A switch component.

Index

Constructors

Properties

Constructors

ui.hoopsSwitch.HoopsSwitchElement.constructor()
HoopsSwitchElement(): HoopsSwitchElement

Returns: HoopsSwitchElement

Properties

ui.hoopsSwitch.HoopsSwitchElement.checked
checked: boolean
ui.hoopsSwitch.HoopsSwitchElement.disabled
disabled: boolean
ui.hoopsSwitch.HoopsSwitchElement.label
label: string

The label will appear as a tooltip when hovering over the switch (using title attribute). It will also be used as the aria-label for accessibility.