Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TreeWalker

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

Hierarchy

  • TreeWalker

Index

Properties

currentNode

currentNode: Node

Readonly filter

filter: NodeFilter | null

Readonly root

root: Node

Readonly whatToShow

whatToShow: number

Methods

firstChild

  • firstChild(): Node | null
  • Returns Node | null

lastChild

  • lastChild(): Node | null
  • Returns Node | null

nextNode

  • nextNode(): Node | null
  • Returns Node | null

nextSibling

  • nextSibling(): Node | null
  • Returns Node | null

parentNode

  • parentNode(): Node | null
  • Returns Node | null

previousNode

  • previousNode(): Node | null
  • Returns Node | null

previousSibling

  • previousSibling(): Node | null
  • Returns Node | null

Generated using TypeDoc