An iterator over the members of a list of the nodes in a subtree of the DOM. The nodes will be returned in document order.

interface NodeIterator {
    filter: null | NodeFilter;
    pointerBeforeReferenceNode: boolean;
    referenceNode: Node;
    root: Node;
    whatToShow: number;
    detach(): void;
    nextNode(): null | Node;
    previousNode(): null | Node;


filter: null | NodeFilter
pointerBeforeReferenceNode: boolean
referenceNode: Node
root: Node
whatToShow: number


  • Returns void


  • Returns null | Node

  • Returns null | Node

Generated using TypeDoc