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

x/evt/lib/types/lib.dom.ts>TreeWalker

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

The nodes of a document subtree and a position within them.

Properties

currentNode: Node
readonly
filter: NodeFilter | null
readonly
root: Node
readonly
whatToShow: number

Methods

firstChild(): Node | null
lastChild(): Node | null
nextNode(): Node | null
nextSibling(): Node | null
parentNode(): Node | null
previousNode(): Node | null
previousSibling(): Node | null