com.raquo.laminar.nodes.ParentNode
See theParentNode companion trait
object ParentNode
Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ParentNode.type
Members list
Type members
Types
Value members
Concrete methods
Note: can also be used to move children, even within the same parent
Note: can also be used to move children, even within the same parent
Attributes
- Returns
-
Whether child was successfully appended
def insertChildAfter(parent: Base, newChild: Base, referenceChild: Base, hooks: UndefOr[InserterHooks]): Boolean
def insertChildAtIndex(parent: Base, child: Base, index: Int, hooks: UndefOr[InserterHooks]): Boolean
Note: this method can also be used to move children, even within the same parent
Note: this method can also be used to move children, even within the same parent
Attributes
- Returns
-
Whether child was successfully inserted
def insertChildBefore(parent: Base, newChild: Base, referenceChild: Base, hooks: UndefOr[InserterHooks]): Boolean
Attributes
- Returns
-
Whether child was successfully removed
def replaceChild(parent: Base, oldChild: Base, newChild: Base, hooks: UndefOr[InserterHooks]): Boolean
Note: Does nothing if oldChild
was not found in parent's children, or if oldChild==newChild
Note: Does nothing if oldChild
was not found in parent's children, or if oldChild==newChild
Attributes
- Returns
-
Whether child was replaced
In this article