Protected ReadonlyariaThe ARIA checked state accounting for indeterminate.
ReadonlyariaAccessible label for the control.
ReadonlycheckedWhether the checkbox is checked. Supports two-way binding.
ReadonlycheckedEmitted when the checked state changes.
ReadonlydisabledWhether the control is disabled.
ReadonlyindeterminateWhether the checkbox is in an indeterminate state.
Only applies to the checkbox variant. Visually indicates
a "partially selected" state (e.g. in a select-all scenario).
Protected ReadonlyroleThe ARIA role for the control.
ReadonlyvariantVisual variant: traditional checkbox or toggle switch.
A checkbox / toggle-switch control.
Supports two visual variants: a traditional checkbox and a toggle-switch. Both share the same API surface.
Content is projected as the label text.
Example