Edit in GitHubLog an issue

window.TreeWalker

[ This feature is behind a feature flag. You must turn on enableSWCSupport in the featureFlags section of plugin manifest to use the same ]

See: WebAPIs - TreeWalker

root : Node

Read only See: https://dom.spec.whatwg.org/#dom-treewalker-root

whatToShow : Number

Read only See: https://dom.spec.whatwg.org/#dom-treewalker-whattoshow

filter : NodeFilter

Read only See: https://dom.spec.whatwg.org/#dom-treewalker-filter

parentNode()

Returns: Node | null
See: https://dom.spec.whatwg.org/#dom-treewalker-parentnode

firstChild()

Returns: Node | null
See: https://dom.spec.whatwg.org/#dom-treewalker-firstchild

lastChild()

Returns: Node | null
See: https://dom.spec.whatwg.org/#dom-treewalker-lastchild

previousSibling()

Returns: Node | null
See: https://dom.spec.whatwg.org/#dom-node-previoussibling

nextSibling()

Returns: Node | null
See: https://dom.spec.whatwg.org/#dom-treewalker-nextsibling

previousNode()

Returns: Node | null
See: https://dom.spec.whatwg.org/#dom-treewalker-previousnode

nextNode()

Returns: Node | null
See: https://dom.spec.whatwg.org/#dom-treewalker-nextnode

Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.