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: null | NodeFilter;
    pointerBeforeReferenceNode: boolean;
    referenceNode: Node;
    root: Node;
    whatToShow: number;
    detach(): void;
    nextNode(): null | Node;
    previousNode(): null | Node;
}

Properties

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

Methods

  • Returns void

    MDN Reference

  • Returns null | Node

  • Returns null | Node