dojo.NodeList.adopt
<script src="../../js/dojo.js"></script>
defined in dojo/_base/NodeList.js
places any/all elements in queryOrListOrNode at a
parameter | type | description |
---|---|---|
queryOrListOrNode | String|Array|DomNode | a DOM node or a query string or a query result. Represents the nodes to be adopted relative to the first element of this NodeList. |
position | String | Optional. can be one of: * "last"||"end" (default) * "first||"start" * "before" * "after" or an offset in the childNodes property |