0.3.3 • Published 3 years ago
@emanon/ema-switch v0.3.3
ema-switch
Properties
Property | Attribute | Type | Default |
---|---|---|---|
checked | checked | boolean | false |
offLabel | off-label | string | "" |
onLabel | on-label | string | "" |
Events
Event | Type | Description |
---|---|---|
request-toggle | CustomEvent<{}> | Fires when switch is tapped. |
CSS Custom Properties
Property | Default | Description |
---|---|---|
--ema-c-switch-bgColor | "#5289ea" | Background color. |