Functiondojox.gfx.Moveable.onMoveStart

dojo.require("dojox.gfx.Moveable");
defined in dojox/gfx/Moveable.js

called before every move operation

Usage

function (/*dojox.gfx.Mover*/ mover) (view source)
parametertypedescription
moverdojox.gfx.Moveran object, which makes a shape 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)
.lastX 
.lastY 
.onFirstMoveFunctionit is meant to be called only once
.onMouseMoveFunctionevent processor for onmousemove
.shapedojox.gfx.Shapea shape object to be moved