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. |