dojo.dnd.Mover
dojo.require("dojo.dnd.Mover");
defined in dojo/dnd/Mover.js
an object, which makes a node follow the mouse, used as a default mover, and as a base class for custom movers
parameter | type | description |
---|---|---|
node | Node | a node (or node's id) to be moved |
e | a mouse event, which started the move; only pageX and pageY properties are used | |
host | Object | Optional. object which implements the functionality of the move, and defines proper events (onMoveStart and onMoveStop) |
FunctionsBack to top

stops the move, deletes all references, so the object can be garbage-collected
makes the node absolute; it is meant to be called only once

event processor for onmousemove

PropertiesBack to top
object which implements the functionality of the move, and defines proper events (onMoveStart and onMoveStop)
a node (or node's id) to be moved