Functiondojo.NodeList.adopt

<script src="../../js/dojo.js"></script>
defined in dojo/_base/NodeList.js

places any/all elements in queryOrListOrNode at a

Usage

function (/*String|Array|DomNode*/ queryOrListOrNode, /*String?*/ position) (view source)
parametertypedescription
queryOrListOrNodeString|Array|DomNodea DOM node or a query string or a query result. Represents the nodes to be adopted relative to the first element of this NodeList.
positionStringOptional. can be one of: * "last"||"end" (default) * "first||"start" * "before" * "after" or an offset in the childNodes property