$dom. NodeList

Members

(readonly) length :number

Type:
  • number

Methods

forEach(callbackfn, thisArgopt)

Parameters:
NameTypeAttributesDescription
callbackfnfunction
thisArgany<optional>

item(index) → {any|null}

Parameters:
NameTypeDescription
indexnumber

The position of the Node to be returned

Returns:
Type: 
any | null

toArray() → {array}

Non standard function: convert to a non-live array

Version
  • Experimental feature, might be removed at any time
Returns:
Type: 
array