the compact javascript framework
in partnership with mediatemple
Contains Drag.Move, Element.makeDraggable
MIT-style license.
Drag. Move.js | Contains Drag.Move, Element.makeDraggable |
Drag.Move | Extends Drag.Base, has additional functionality for dragging an element, support snapping and droppables. |
Element | Custom class to allow all of its methods to be used with any DOM element via the dollar function $. |
Properties | |
makeDraggable | Makes an element draggable with the supplied options. |
Extends Drag.Base, has additional functionality for dragging an element, support snapping and droppables. Drag.move supports either position absolute or relative. If no position is found, absolute will be set. Inherits methods, properties, options and events from Drag.Base.
Drag.Move requires an XHTML doctype.
el | the $(element) to apply the drag to. |
options | optional. see Options below. |
all the drag.Base options, plus: container - an element, will fill automatically limiting options based on the $(element) size and position. defaults to false (no limiting) droppables - an array of elements you can drop your draggable to. overflown - an array of nested scrolling containers, see Element::getPosition
Custom class to allow all of its methods to be used with any DOM element via the dollar function $.
Properties | |
makeDraggable | Makes an element draggable with the supplied options. |
returns the element passed in with all the Element prototypes applied.
Documentation by Aaron Newton & Mootools Developers, generated by NaturalDocs and GeSHi