<toggler>
Togglers let users make binary choices by toggling a switch.
Example
xml
<toggler is-toggled="is_toggled" />Attributes
| Attribute | Type | Required |
|---|---|---|
is-toggled | string | Yes |
label | string | No |
on-toggle | string | No |
on-toggle-maybe | string | No |
size | float | No |
width | Length | No |
text-size | float | No |
text-line-height | LineHeight | No |
text-alignment | Alignment | No |
text-shaping | Shaping | No |
text-wrapping | Wrapping | No |
spacing | float | No |
font | string | No |
style | string | No |