Name |
Type |
Description |
Default |
proxy |
string,function |
A proxy element to be used when dragging, when set to 'clone', a clone element is used as proxy. If a function is specified, it must return a jQuery object. |
null |
revert |
boolean |
If set to true, the element will return to its start position when dragging stops. |
false |
cursor |
string |
The css cursor when dragging. |
move |
deltaX |
number |
The dragged element position x corresponding to current cursor |
null |
deltaY |
number |
The dragged element position y corresponding to current cursor |
null |
handle |
selector |
The handle that start the draggable. |
null |
disabled |
boolean |
True to stop draggable. |
false |
edge |
number |
The drag width in which can start draggable. |
0 |
axis |
string |
Defines the axis which the dragged elements moves on, available value is 'v' or 'h', when set to null will move across 'v' and 'h' direction. |
null |