API Documentation

Selectbox

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

Properties

Key Type Required Description
effect string No Possible values are: slide, fade. Defaults to slide
speed numeric|string No Possible values are: slow, normal, fast. Defaults to 200

Methods

Method Arguments Description
change .zinoSelectbox("change", value, text) Change selected attribute of the selectbox.
close .zinoSelectbox("close") Close opened selectbox.
destroy .zinoSelectbox("destroy") Remove the selectbox functionality completely. This will return the element back to its pre-init state.
disable .zinoSelectbox("disable") Disable the selectbox.
enable .zinoSelectbox("enable") Enable the selectbox.
isDisabled .zinoSelectbox("isDisabled") Tell us whether the selectbox is disabled.
isOpen .zinoSelectbox("isOpen") Tell us whether the selectbox is opened.
open .zinoSelectbox("open") Call up attached selectbox.
option .zinoSelectbox("option", name, value) Get or set any selectbox option. If no value is specified, will act as a getter.

Events

Event Arguments Description
enable event, ui Triggered when the user enables the selectbox.
disable event, ui Triggered when the user disables the selectbox.
change event, ui Triggered when the selectbox change it selected option value.
close event, ui Triggered when the selectbox attempt to close.
open event, ui Triggered when the selectbox attempt to open.