Abstract
constructorRest
...args: any[]Sets the aria-labelledby attribute for the control.
The checked state of the control.
Disables the control.
Controls the validity of the control.
The label position of the control.
label-position
The name attribute of the control.
Makes the control a required field.
The value attribute of the control.
Static
stylesStatic
Readonly
tag
Similar to a checkbox, a switch controls the state of a single setting on or off.
Element
igc-switch
Slot
Fires
igcChange - Emitted when the control's checked state changes.
Fires
igcFocus - Emitted when the control gains focus.
Fires
igcBlur - Emitted when the control loses focus.
Csspart
base - The base wrapper of the switch.
Csspart
control - The switch control.
Csspart
thumb - The position indicator of the switch.
Csspart
label - The switch label.