Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/index.ts>dom.NodeIterator

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.NodeIterator
import { type dom } from "https://deno.land/x/evt@v2.4.16/lib/types/index.ts";
const { NodeIterator } = dom;

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.

Properties

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

Methods

detach(): void
nextNode(): Node | null
previousNode(): Node | null