Web Development with jQuery®

(Elliott) #1

(^554) ❘ APPENDIX J DRAGGABLE AND DROPPABLE
grid Snaps the dragging element or helper to a grid.
The value is provided in the form of an array
[x, y].
Default value: false
Array,
Boolean
handle Restricts the drag start to the specifi ed
element. This lets you make a large element
draggable, but only when a smaller element
within it is used as the “handle.”
Default value: false
Element,
Selector
helper Allows for a helper element to be used for
dragging display. The clone option produces a
ghosting effect. Possible values are
original and clone. The default value is
original. If you supply a function, it must
return a valid DOM node.
Default value: "original"
String,
Function
iframeFix Prevents an