Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TreeWalker

Package version

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

Hierarchy

  • TreeWalker

Index

Properties

currentNode

currentNode: Node

filter

filter: NodeFilter | null

root

root: Node

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