Functiondojo.dnd.move.constrainedMoveable.onMove

dojo.require("dojo.dnd.move");
defined in dojo/dnd/move.js

called during every move notification, should actually move the node, can be overwritten.

Usage

function (/*dojo.dnd.Mover*/ mover, /*Object*/ leftTop) (view source)
parametertypedescription
moverdojo.dnd.Moveran object, which makes a node follow the mouse, used as a default mover, and as a base class for custom movers
fieldtypedescription
.destroyFunctionstops the move, deletes all references, so the object can be garbage-collected
.events 
.hostObjectOptional. object which implements the functionality of the move, and defines proper events (onMoveStart and onMoveStop)
.marginBox 
.marginBox.l 
.marginBox.t 
.mouseButton 
.nodeNodea node (or node's id) to be moved
.onFirstMoveFunctionmakes the node absolute; it is meant to be called only once
.onMouseMoveFunctionevent processor for onmousemove
.onMouseUpFunction 
leftTopObject