<tap-switch>

Toggle switch component. Supports multiple semantic colors and disabled state.

Example

API

Shadow DOM; Extends GemElement

Instance Properties

Property(Attribute) Reactive Type
disabled(disabled) Yes boolean
checked(checked) Yes boolean
value(value) Yes string
label(label) Yes string
neutral(neutral) Yes 'positive' | 'negative' | 'neutral' | 'informative'
change Emitter<boolean>

Other

Type Value
Event change
Slot unnamed
CSS State delegate-focus