public class DOMNodeList extends ArrayList<DOMElement> implements NodeList
Element list compatible with both Klyn lists and DOM NodeList.
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 | DOMNodeList | Creates an empty DOM element list. |
| Modifier and Type | Member | Description |
|---|---|---|
| public override | addadd(item as DOMElement) as Void |
Adds an element to the DOM node list. |
| public | item | Returns the node at an index. |