an object which makes a node follow the mouse, or touch-drag on touch devices. 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 | Event | 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) |
See the dojo/dnd/Mover reference documentation for more information.
stops the move, deletes all references, so the object can be garbage-collected
| Parameter | Type | Description |
|---|---|---|
| type | undefined | |
| listener | undefined |
makes the node absolute; it is meant to be called only once. relative and absolutely positioned nodes are assumed to use pixel units
| Parameter | Type | Description |
|---|---|---|
| e | undefined |
event processor for onmousemove/ontouchmove
| Parameter | Type | Description |
|---|---|---|
| e | Event | mouse/touch event |