dojo.dnd.Selector.insertNodes
dojo.require("dojo.dnd.Selector");
defined in dojo/dnd/Selector.js
inserts new data items (see Container's insertNodes method for details)
Usage
parameter | type | description |
---|---|---|
addSelected | Boolean | all new nodes will be added to selected items, if true, no selection change otherwise |
data | Array | a list of data items, which should be processed by the creator function |
before | Boolean | insert before the anchor, if true, and after the anchor otherwise |
anchor | Node | the anchor node to be used as a point of insertion |
FunctionsBack to top

PropertiesBack to top
the anchor node to be used as a point of insertion