the manager of DnD operations (usually a singleton)
See the dojo/dnd/Manager reference documentation for more information.
changes the copy status
Parameter | Type | Description |
---|---|---|
copy | Boolean | the copy status |
called to notify if the current target can accept items
Parameter | Type | Description |
---|---|---|
flag | undefined |
makes the avatar; it is separate to be overwritten dynamically, if needed
Returns the current DnD manager. Creates one if it is not created yet.
Parameter | Type | Description |
---|---|---|
type | undefined | |
listener | undefined |
called when a source detected a mouse-out condition
Parameter | Type | Description |
---|---|---|
source | Object | the reporter |
called when a source detected a mouse-over condition
Parameter | Type | Description |
---|---|---|
source | Object | the reporter |
called to initiate the DnD operation
Parameter | Type | Description |
---|---|---|
source | Object | the source which provides items |
nodes | Array | the list of transferred items |
copy | Boolean | copy items, if true, move items otherwise |
updates the avatar; it is separate to be overwritten dynamically, if needed
event processor for onkeydown: watching for CTRL for copy/move status, watching for ESCAPE to cancel the drag
Parameter | Type | Description |
---|---|---|
e | Event | keyboard event |
event processor for onkeyup, watching for CTRL for copy/move status
Parameter | Type | Description |
---|---|---|
e | Event | keyboard event |
event processor for onmousemove
Parameter | Type | Description |
---|---|---|
e | Event | mouse event |
event processor for onmouseup
Parameter | Type | Description |
---|---|---|
e | Event | mouse event |