API Documentation

Draggable

Themable, WAI-ARIA accessible javascript draggable component. For examples, check out Draggable demo page.

Properties

Key Type Required Description
attachLater boolean No Defaults to false
handle string|jQuery object No Defaults to null
lowerBound array|null No Defaults to null
upperBound array|null No Defaults to null

Methods

Method Arguments Description
destroy .zinoDraggable("destroy") Remove the draggable functionality completely. This will return the element back to its pre-init state.
disable .zinoDraggable("disable") Disables the draggable functionallity.
enable .zinoDraggable("enable") Enables the draggable functionallity.

Events

Event Arguments Description
drag event, ui This event is triggered while the user drag the element.
end event, ui This event is triggered the user stops dragging.
start event, ui This event is triggered when the user starts dragging.
enable event, ui This event is triggered when draggable functionallity is enabled.
disable event, ui This event is triggered when draggable functionallity is disabled.