Interface: NodeList

NodeList

Interface for lists of nodes. It supports array-like indexing.
Properties:
Name Type Description
length number The length of the list.

Methods


item(index)

Returns an item in the list.
Parameters:
Name Type Description
index number The index of the item.
Returns:
The element at index, or null if it does not exist.
Type
Node