Functiondojo.dnd.Container.insertNodes

dojo.require("dojo.dnd.Container");
defined in dojo/dnd/Container.js

inserts an array of new nodes before/after an anchor node

Usage

function (/*Array*/ data, /*Boolean*/ before, /*Node*/ anchor) (view source)
parametertypedescription
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