API Documentation

CheckBox

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

Properties

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

Methods

Method Arguments Description
toggle .zinoCheckbox("toggle", index) Toggle a checkbox button state by given zero-based index.
destroy .zinoCheckbox("destroy") Removes the checkbox functionality completely. This will return the element back to its pre-init state.

Events

Event Arguments Description
create event, ui Triggered when checkbox is created.
toggle event, ui Triggered when checkbox button toggle it state.
focus event, ui Triggered when checkbox button gain focus.
blur event, ui Triggered when checkbox button lost focus.