Results 1 - 12 of 12

TreeWalker.currentNode

The TreeWalker.currentNode property represents the Node on which the TreeWalker is currently pointing at.
API DOM Property TreeWalker

TreeWalker.filter

The TreeWalker.filter read-only property returns a NodeFilter that is the filtering object associated with the TreeWalker.
API DOM Property TreeWalker

TreeWalker.root

The TreeWalker.root read-only property returns the node that is the root of what the TreeWalker traverses.
API DOM Property TreeWalker

TreeWalker.whatToShow

The TreeWalker.whatToShow read-only property returns an unsigned long being a bitmask made of constants describing the types of Node that must to be presented. Non-matching nodes are skipped, but their children may be included, if relevant. The possible values are:
API DOM Property TreeWalker

TreeWalker.previousSibling()

The TreeWalker.previousSibling() method moves the current Node to its previous sibling, if any, and returns the found sibling. I there is no such node, return null and the current node is not changed.
API createTreeWalker DOM DOM Reference Method TreeWalker treeWalker.previousSibling

TreeWalker.firstChild()

The TreeWalker.firstChild() method moves the current Node to the first visible child of the current node, and returns the found child. It also moves the current node to this child. If no such child exists, returns null and the current node is not changed.
API DOM DOM Reference Method TreeWalker

TreeWalker.lastChild()

The TreeWalker.lastChild() method moves the current Node to the last visible child of the current node, and returns the found child. It also moves the current node to this child. If no such child exists, returns null and the current node is not changed.
API DOM DOM Reference Method TreeWalker

TreeWalker.nextNode()

The TreeWalker.nextNode() method moves the current Node to the next visible node in the document order, and returns the found node. It also moves the current node to this one. If no such node exists, returns null and the current node is not changed.
API DOM DOM Reference Method TreeWalker

TreeWalker.nextSibling()

The TreeWalker.nextSibling() method moves the current Node to its next sibling, if any, and returns the found sibling. I there is no such node, return null and the current node is not changed.
API DOM DOM Reference Method TreeWalker

TreeWalker.parentNode()

The TreeWalker.parentNode() method moves the current Node to the first visible ancestor node in the document order, and returns the found node. If no such node exists, or if it is above the TreeWalker's root node, returns null and the current node is not changed.
API DOM DOM Reference Method TreeWalker

TreeWalker.previousNode()

The TreeWalker.previousNode() method moves the current Node to the previous visible node in the document order, and returns the found node. It also moves the current node to this one. If no such node exists,or if it is before that the root node defined at the object construction, returns null and the current node is not changed.
API DOM DOM Reference Method TreeWalker