Constructordojo.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

function (/*Boolean*/ addSelected, /*Array*/ data, /*Boolean*/ before, /*Node*/ anchor) (view source)
parametertypedescription
addSelectedBooleanall new nodes will be added to selected items, if true, no selection change otherwise
dataArraya list of data items, which should be processed by the creator function
beforeBooleaninsert before the anchor, if true, and after the anchor otherwise
anchorNodethe anchor node to be used as a point of insertion

Jump to PropertiesFunctionsBack to top

Function_normalizedCreator(item, hint)

Jump to FunctionsPropertiesBack to top

the anchor node to be used as a point of insertion