Used by dojo/dnd/Manager to scroll document or internal node when the user drags near the edge of the viewport or a scrollable node
See the dojo/dnd/autoscroll reference documentation for more information.
a handler for mousemove and touchmove events, which scrolls the window, if necessary
Parameter | Type | Description |
---|---|---|
e | Event | mousemove/touchmove event |
a handler for mousemove and touchmove events, which scrolls the first available Dom element, it falls back to exports.autoScroll()
Parameter | Type | Description |
---|---|---|
e | Event | mousemove/touchmove event |
Called at the start of a drag.
Parameter | Type | Description |
---|---|---|
d | Document | The document of the node being dragged. |
Returns the dimensions and scroll position of the viewable area of a browser window
Parameter | Type | Description |
---|---|---|
doc | Document |
Optional
|