Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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.

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

§Properties

§
readonly filter: NodeFilter | null
[src]
§
readonly pointerBeforeReferenceNode: boolean
[src]
§
readonly referenceNode: Node
[src]
§
readonly root: Node
[src]
§
readonly whatToShow: number
[src]

§Methods

§
detach(): void
[src]
§
nextNode(): Node | null
[src]
§
previousNode(): Node | null
[src]