Interface NodeIterator

    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.

    MDN Reference

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

    Properties

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

    Methods