nodeArr
nodeArr<
T>(nodeList):T[]
Defined in: core/utils/array.ts:8
Converts a NodeList (or any array-like) into a real array.
IE10 has no Array.from, so this uses Array.prototype.slice.
Type Parameters
Section titled “Type Parameters”T = HTMLElement
Parameters
Section titled “Parameters”nodeList
Section titled “nodeList”ArrayLike<T>
Nodes from querySelectorAll, childNodes, etc.
Returns
Section titled “Returns”T[]