Function
a constructor of the Source
node or node's id to build the source on
any property of this class may be configured via the params object which is mixed-in to the `dojo.dnd.Source` instance
Function
the source which provides items
the list of transferred items
checks if the target can accept nodes from this source
Boolean
Function
the "copy" key was pressed
optional flag that means that we are about to drop on itself
Returns true if we need to copy items, false to move. It is separated to be overwritten dynamically, if needed.
Boolean
Function
prepares the object to be garbage-collected
Function
Function
mouse event
event processor for onmousemove
Function
mouse event
event processor for onmousedown
Function
mouse event
event processor for onmouseup
Function
the source which has the mouse over it
topic event processor for /dnd/source/over, called when detected a current source
Function
the source which provides items
the list of transferred items
copy items, if true, move items otherwise
topic event processor for /dnd/start, called to initiate the DnD operation
Function
the source which provides items
the list of transferred items
copy items, if true, move items otherwise
the target which accepts items
topic event processor for /dnd/drop, called to finish the DnD operation
Function
topic event processor for /dnd/cancel, called to cancel the DnD operation
Function
the source which provides items
the list of transferred items
copy items, if true, move items otherwise
called only on the current target, when drop is performed
Function
the source which provides items
the list of transferred items
copy items, if true, move items otherwise
called only on the current target, when drop is performed from an external source
Function
the list of transferred items
copy items, if true, move items otherwise
called only on the current target, when drop is performed from the same target/source
Function
called during the active DnD operation, when items are dragged over this target, and it is not disabled
Function
called during the active DnD operation, when items are dragged away from this target, and it is not disabled
Function
this function is called once, when mouse is over our container
Function
this function is called once, when mouse is out of our container
Function
insert before, if true, after otherwise
assigns a class to the current target anchor based on "before" status
Function
removes a class of the current target anchor based on "before" status
Function
changes source's state based on "copy" status
Function
mouse event accept only the left mouse button
checks if user clicked on "approved" items
Boolean
Function
Function
Boolean
insert before, if true, after otherwise
Function
a constructor of the Target --- see the `dojo.dnd.Source.constructor` for details
Function
Function
constructor of the AutoSource --- see the Source constructor for details
Function
Function
a dict of parameters for DnD Source configuration. Note that any property on Source elements may be configured, but this is the short-list
Boolean?
can be used as a DnD source. Defaults to true.
Array?
list of accepted types (text strings) for a target; defaults to ["text"]
Boolean
if true refreshes the node list on every operation; false by default
Boolean?
copy items, if true, use a state of Ctrl key otherwise, see selfCopy and selfAccept for more details
Number
the move delay in pixels before detecting a drag; 0 by default
Boolean?
a horizontal container, if true, vertical otherwise or when omitted
Boolean?
copy items by default when dropping on itself, false by default, works only if copyOnly is true
Boolean?
accept its own items when copyOnly is true, true by default, works only if copyOnly is true
Boolean?
allows dragging only by handles, false by default
Boolean?
generate text node for drag and drop, true by default
Object
Object