API Documentation

Menu

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

Properties

Key Type Required Description
dataSource zino.DataSource Yes Defaults to null
orientation string No Defaults to horizontal

Methods

Method Arguments Description
close .zinoMenu("close", element) Close a menu item. element can be zero-based index, DOM node, jQuery selector or jQuery object.
open .zinoMenu("open", element) Open a menu item. element can be zero-based index, DOM node, jQuery selector or jQuery object.
enable .zinoMenu("enable", element) Enables a menu item. element can be zero-based index, DOM node, jQuery selector or jQuery object.
disable .zinoMenu("disable", element) Disables a menu item. element can be zero-based index, DOM node, jQuery selector or jQuery object.
destroy .zinoMenu("destroy") Removes the menu functionality completely. This will return the element back to its pre-init state.

Events

Event Arguments Description
enable event, ui This event is triggered when the user enables a menu item.
disable event, ui This event is triggered when the user disables a menu item.
open event, ui This event is triggered when a menu item attempts to open.
close event, ui This event is triggered when a menu item attempts to close.