an object, which makes a node follow the mouse.
Used as a default mover, and as a base class for custom movers.
Parameter |
Type |
Usage |
Description |
node |
Node |
required |
a node (or node's id) to be moved |
e |
Event |
required |
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) |