public interface NodeList
Modifier and Type | Method and Description |
---|---|
int |
getLength()
Returns the number of nodes in the NodeList.
|
<T extends Node> |
item(int index)
Returns an item in the list by its index, or null if the index is out-of-bounds; can be used as an
alternative to simply accessing nodeList[index] (which instead returns undefined when index is
out-of-bounds).
|
int getLength()
<T extends Node> T item(int index)
index
- The index to get the the item for