API Documentation

Slider

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

Properties

Key Type Required Description
bounds array No Defaults to [0, 100]
height numeric No Defaults to 320
maxValue numeric No Defaults to 100
minValue numeric No Defaults to 0
range boolean No Defaults to false
vertical boolean No Defaults to false
width numeric No Defaults to 320

Methods

Method Arguments Description
destroy .zinoSlider("destroy") Removes the slider functionality completely. This will return the element back to its pre-init state.
disable .zinoSlider("disable") Disables the slider.
enable .zinoSlider("enable") Enables the slider.

Events

Event Arguments Description
enable event, ui This event is triggered when the user enables the slider.
disable event, ui This event is triggered when the user disables the slider.
slide event, ui This event is triggered when slider change it's position.
start event, ui This event is triggered when the user attempts to start sliding.
stop event, ui This event is triggered when the user stops sliding.