Similar to a checkbox, a switch controls the state of a single setting on or off.
base - The base wrapper of the switch.
control - The switch input element.
thumb - The position indicator of the switch.
label - The switch label.
Emitted when the control's checked state changes.
Similar to a checkbox, a switch controls the state of a single setting on or off.
Slot
Csspart
base - The base wrapper of the switch.
Csspart
control - The switch input element.
Csspart
thumb - The position indicator of the switch.
Csspart
label - The switch label.