API Documentation

RadioGroup

Themable, WAI-ARIA accessible javascript radio button with mouse and keyboard navigation. For examples, check out RadioGroup demo page.

Properties

Key Type Required Description
data array Yes Array of objects. Object indexes are: label (string), checked (boolean).

Methods

Method Arguments Description
select .zinoRadiogroup("select", index) Select a radio button by given zero-based index.
destroy .zinoRadiogroup("destroy") Removes the radio group functionality completely. This will return the element back to its pre-init state.

Events

Event Arguments Description
create event, ui Triggered when radio group is created.
select event, ui Triggered when radio button is selected.
focus event, ui Triggered when radio button gain focus.
blur event, ui Triggered when radio button lost focus.