Skip to main content
Module

x/evt/mod.ts>dom.NodeIterator

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.NodeIterator
import { type dom } from "https://deno.land/x/evt@v2.4.13/mod.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