API Documentation

Tabs

Themable, WAI-ARIA accessible javascript tabs with mouse and keyboard interactions for navigation. For examples, check out Tabs demo page.

Properties

Key Type Required Description
event string No Possible values are: click, dblclick, mouseover. Defaults to click
disabled array No Defaults to empty array: []
selected number No Defaults to 0

Methods

Method Arguments Description
enable .zinoTabs("enable", index) Enables a tab by given index, if one exists.
disable .zinoTabs("disable", index) Disables a tab by given index, if one exists.
destroy .zinoTabs("destroy") Removes the tabs functionality completely. This will return the element back to its pre-init state.
add .zinoTabs("add") Add a tab.
remove .zinoTabs("remove", index) Remove a tab by given index, if one exists.
select .zinoTabs("select", index) Activate a tab by given index, if one exists.

Events

Event Arguments Description
enable event, ui Triggered when the user enable a tab programmatically.
disable event, ui Triggered when the user disable a tab programmatically.
add event, ui Triggered when the user add a tab programmatically.
remove event, ui Triggered when the user remove a tab programmatically.
load event, ui Triggered when an ajax tab is loaded.
select event, ui Triggered when tab is selected.
create event, ui Triggered when the tabs functionallity is attached to DOM element.