Skip to content

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.

T = HTMLElement

ArrayLike<T>

Nodes from querySelectorAll, childNodes, etc.

T[]