HTMLOptions

Aria-style handling for options of multiple-value controls.

The module handles tab order, focusing and blurring for radio, segmented, tabbar controls.

Does not have public properties or methods.

Methods
addOption adds a new option to the control
disableOption disables an option of the control
enableOption enables a disabled option of the control
getOption returns the option of a radio, a segmented button or a tabbar
hideOption hides an option of the control
optionIndex index of the option with specified ID
removeOption removes the option of a control
showOption shows a hidden option of the control
Events
onOptionAdd fires after the option (tab, segment, radio) has been added
onOptionRemove fires after the option (tab, segment, radio) has been removed
Properties
options defines options for Radio, Segmented, and Tabbar
value sets the ID of the necessary option from the options collection
Back to top