implicit final class SaferTreeWalker extends AnyVal
- See also
https://dom.spec.whatwg.org/#treewalker
- Alphabetic
- By Inheritance
- SaferTreeWalker
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SaferTreeWalker(value: raw.TreeWalker)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
filter: Option[raw.NodeFilter]
The TreeWalker.filter read-only property returns a NodeFilter that is the filtering object associated with the TreeWalker.
The TreeWalker.filter read-only property returns a NodeFilter that is the filtering object associated with the TreeWalker.
MDN
-
def
firstChild(): Option[raw.Node]
The TreeWalker.firstChild() method moves the current Node to the first visible child of the current node, and returns the found child.
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.
MDN
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
lastChild(): Option[raw.Node]
The TreeWalker.lastChild() method moves the current Node to the last visible child of the current node, and returns the found child.
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.
MDN
-
def
nextNode(): Option[raw.Node]
The TreeWalker.nextNode() method moves the current Node to the next visible node in the document order, and returns the found node.
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.
MDN
-
def
nextSibling(): Option[raw.Node]
The TreeWalker.nextSibling() method moves the current Node to its next sibling, if any, and returns the found sibling.
The TreeWalker.nextSibling() method moves the current Node to its next sibling, if any, and returns the found sibling. If there is no such node, return null and the current node is not changed.
MDN
-
def
parentNode(): Option[raw.Node]
The TreeWalker.parentNode() method moves the current Node to the first visible ancestor node in the document order, and returns the found node.
The TreeWalker.parentNode() method moves the current Node to the first visible ancestor 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.
MDN
-
def
previousNode(): Option[raw.Node]
The TreeWalker.previousNode() method moves the current Node to the previous visible node in the document order, and returns the found node.
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.
MDN
-
def
previousSibling(): Option[raw.Node]
The TreeWalker.previousSibling() method moves the current Node to its previous sibling, if any, and returns the found sibling.
The TreeWalker.previousSibling() method moves the current Node to its previous sibling, if any, and returns the found sibling. If there is no such node, return null and the current node is not changed.
MDN
-
def
toString(): String
- Definition Classes
- Any
- val value: raw.TreeWalker