API Documentation

ProgressBar

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

Properties

Key Type Required Description
height numeric No Defaults to 20
max numeric No Defaults to 100
value numeric No Defaults to 0
vertical boolean No Defaults to false
width numeric No Defaults to 320

Methods

Method Arguments Description
destroy .zinoProgressbar("destroy") Removes the progressbar functionality completely. This will return the element back to its pre-init state.
disable .zinoProgressbar("disable") Disables the progressbar.
enable .zinoProgressbar("enable") Enables the progressbar.
option .zinoProgressbar("option", optionName) Gets the value currently associated with the specified optionName.
option .zinoProgressbar("option") Gets an object containing key/value pairs representing the current progressbar options hash.
option .zinoProgressbar("option", optionName, value) Sets the value of the progressbar option associated with the specified optionName.
value .zinoProgressbar("value", value) Sets the current value of the progressbar.

Events

Event Arguments Description
create event, ui Triggered when the progressbar is created.
change event, ui Triggered when the value of the progressbar changes.
complete event, ui Triggered when the value of the progressbar reaches the maximum value.
enable event, ui Triggered when the user enables the progressbar.
disable event, ui Triggered when the user disables the progressbar.