dojo.dnd.Selector
dojo.require("dojo.dnd.Selector");
defined in dojo/dnd/Selector.js
a constructor of the Selector
parameter | type | description |
---|---|---|
node | Node | node or node's id to build the selector on |
params | Object | a dict of parameters, recognized parameters are: |

ConstructorsBack to top
Overrides dojo.dnd.Container
inserts new data items (see Container's insertNodes method for details)

FunctionsBack to top

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}
deletes all selected items
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).
returns a list (an array) of selected nodes

Overrides dojo.dnd.Container

event processor for onmousedown

event processor for onmousemove

event processor for onmouseup
Overrides dojo.dnd.Container
this function is called once, when mouse is out of our container
Overrides dojo.dnd.Container
this function is called once, when mouse is over our container
selects all items
unselects all items
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

Overrides dojo.dnd.Container
adds all necessary data to the output of the user-supplied creator function
Defined by dojo.dnd.Container
removes a class with prefix "dojoDndItem"
unselects all items

PropertiesBack to top
Defined by dojo.dnd.Container
Defined by dojo.dnd.Container
Defined by dojo.dnd.Container
Defined by dojo.dnd.Container
Defined by dojo.dnd.Container
Defined by dojo.dnd.Container
allows selection of only one element, if true the rest of parameters are passed to the container
Defined by dojo.dnd.Container
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)