API / geotoolkit / report / dom / NodeList / NodeList
The NodeList interface represents an iterable collection of Node objects.
| Name |
|---|
T |
Constructors
Accessors
Constructors
• new NodeList<T>(nodeList?)
| Name |
|---|
T |
| Name | Type | Description |
|---|---|---|
Optional nodeList | T[] | list of nodes |
Accessors
• get length(): number
Returns the amount of objects in the map.
Name
module:geotoolkit/report/dom/NodeList~NodeList#length
number
Methods
▸ [iterator](): Object
Object
| Name | Type |
|---|---|
next | () => { done: boolean ; value: T } |
▸ indexOf(node): number
Returns index of node.
| Name | Type | Description |
|---|---|---|
node | T | item to get index of |
number
▸ item(index): T
Returns the Node at the given index, or null if the index is higher or equal to the number of nodes.
| Name | Type | Description |
|---|---|---|
index | number | of named item |
T
▸ removeChild(child): NodeList<T>
Remove child node from container
| Name | Type | Description |
|---|---|---|
child | T | child to remove |
NodeList<T>
this