diff -r d0a1c6d22b0e -r 67f071c743f5 client/player/development-bundle/demos/draggable/snap-to.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/client/player/development-bundle/demos/draggable/snap-to.html Thu Jun 10 04:16:26 2010 +0200 @@ -0,0 +1,70 @@ + + +
+ +Snap the draggable to the inner or outer boundaries of a DOM element. Use the snap
, snapMode
(inner, outer, both), and snapTolerance
(distance in pixels the draggable must be from the element when snapping is invoked) options.
Or snap the draggable to a grid. Set the dimensions of grid cells (height and width in pixels) with the grid
option.