dojo.dnd.Moveable
dojo.require("dojo.dnd.Moveable");
defined in dojo/dnd/Moveable.js
an object, which makes a node moveable
parameter | type | description |
---|---|---|
node | Node | a node (or node's id) to be moved |
params | Object | an optional object with additional parameters; following parameters are recognized: |
FunctionsBack to top

stops watching for possible move, deletes all references, so the object can be garbage-collected

called during the very first move notification, can be used to initialize coordinates, can be overwritten. default implementation does nothing

event processor for onmousedown, creates a Mover for the node

event processor for onmousemove, used only for delayed drags

event processor for onmouseup, used only for delayed delayed drags
called during every move notification, should actually move the node, can be overwritten.
called after every incremental move, can be overwritten. default implementation does nothing
called before every move operation
called after every move operation
called before every incremental move, can be overwritten. default implementation does nothing
event processor for onselectevent and ondragevent