dojo.NodeList.splice
<script src="../../js/dojo.js"></script>
defined in dojo/_base/NodeList.js
This method behaves exactly like the Array.splice method with the caveat that it returns a dojo.NodeList and not a raw Array. For more details, see:
parameter | type | description |
---|---|---|
index | Integer | begin can be a positive or negative integer, with positive integers noting the offset to begin at, and negative integers denoting an offset from the end (i.e., to the left of the end) |
howmany | Integer | Optional. Optional parameter to describe what position relative to the NodeList's zero index to end the slice at. Like begin, can be positive or negative. |
item | Object | Optional and repeating. Any number of optional parameters may be passed in to be spliced into the NodeList |