public class DomNodeList extends ArrayList<DomElement> implements NodeList:
Element list compatible with both Klyn lists and DOM NodeList.
@example `klyn import klyn.io.xml.dom
nodes = DomNodeList() print(nodes.length)
| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | lengthlength as Int: |
Number of nodes in the list. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | DomNodeListDomNodeList(): |
Creates an empty DOM element list. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | addadd(item as DomElement) as Void: |
Adds an element to the DOM node list. |
| public | item | Returns the node at an index. |