Skip to main content
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.3/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