ux-switch

ux-switch Documentation

Read Foundation's ux-switch docs for more details.


Use Cases Manifest Default use caseRadio switch example
    {{#events.uxSwitch_84}}
  • {{this}}
  • {{/}}

	{
    "name": "exampleswitch",
    "checked": true
}
    {{#events.uxSwitch_85}}
  • {{this}}
  • {{/}}

	{
    "name": "exampleswitch",
    "checked": true,
    "group": "exampleGroup"
}
Semantic Event Mapping
onclick - Event to fire when switch is clicked


Semantic Data Model
role - The role of the switch
arialabel - Accessibility label
tabindex - Tabable index of the element
name - The name of the switch element, for referencing in forms