dojo.dnd.Target
dojo.require("dojo.dnd.Source");
defined in dojo/dnd/Source.js
a constructor of the Target --- see the Source constructor for details
Usage
function (node, params) (view source)
parameter | type | description |
---|---|---|
node | ||
params |

ConstructorsBack to top
Defined by dojo.dnd.Container, dojo.dnd.Selector
inserts new data items (see Container's insertNodes method for details)
Defined by dojo.dnd.Source
topic event processor for /dnd/drop, called to finish the DnD operation

FunctionsBack to top
Defined by dojo.dnd.Source
checks, if the target can accept nodes from this source
Defined by dojo.dnd.Source
Returns true, if we need to copy items, false to move. It is separated to be overwritten dynamically, if needed.

Defined by dojo.dnd.Container
a creator function, which takes a data item, and returns an object like that: {node: newNode, data: usedData, type: arrayOfStrings}

prepares the object to be garbage-collected
Defined by dojo.dnd.Container
iterates over a data map skipping members, which are present in the empty object (IE and/or 3rd-party libraries).

Defined by dojo.dnd.Source
topic event processor for /dnd/cancel, called to cancel the DnD operation
Defined by dojo.dnd.Source
topic event processor for /dnd/source/over, called when detected a current source
Defined by dojo.dnd.Source
topic event processor for /dnd/start, called to initiate the DnD operation
this function is called once, when mouse is out of our container
this function is called once, when mouse is over our container
Defined by dojo.dnd.Container
associates a data item with its key (id)

Defined by dojo.dnd.Container
collects valid child items and populate the map set up the real parent node
Defined by dojo.dnd.Container
adds a class with prefix "dojoDndItem"
Defined by dojo.dnd.Container
changes a named state to new state value
Defined by dojo.dnd.Container
gets a child, which is under the mouse at the moment, or null
Defined by dojo.dnd.Source
assigns a class to the current target anchor based on "before" status

adds all necessary data to the output of the user-supplied creator function
Defined by dojo.dnd.Selector
Defined by dojo.dnd.Container
removes a class with prefix "dojoDndItem"
Defined by dojo.dnd.Source
removes a class of the current target anchor based on "before" status

PropertiesBack to top
Defined by dojo.dnd.Source
Defined by dojo.dnd.Selector
Defined by dojo.dnd.Source
Defined by dojo.dnd.Container
Defined by dojo.dnd.Source
Defined by dojo.dnd.Container, dojo.dnd.Source
Defined by dojo.dnd.Container
Defined by dojo.dnd.Container
Defined by dojo.dnd.Source
Defined by dojo.dnd.Source
Overrides dojo.dnd.Source
Defined by dojo.dnd.Container
Defined by dojo.dnd.Source
Defined by dojo.dnd.Source
Defined by dojo.dnd.Selector
Defined by dojo.dnd.Container
Defined by dojo.dnd.Selector
Defined by dojo.dnd.Selector
Defined by dojo.dnd.Selector
allows selection of only one element, if true the rest of parameters are passed to the container
Defined by dojo.dnd.Container, dojo.dnd.Source
don't start the drag operation, if clicked on form elements _skipStartup: Boolean: skip startup(), which collects children, for deferred initialization (this is used in the markup mode)
Defined by dojo.dnd.Source
Defined by dojo.dnd.Source
Defined by dojo.dnd.Source
Defined by dojo.dnd.Source
Defined by dojo.dnd.Source
Defined by dojo.dnd.Source