ChildNode

com.raquo.laminar.nodes.ChildNode
See theChildNode companion object
trait ChildNode[+Ref <: Node] extends ReactiveNode[Ref], Modifier[ReactiveElement[Element]]

Attributes

Companion
object
Graph
Supertypes
trait Modifier[ReactiveElement[Element]]
trait ReactiveNode[Ref]
class Object
trait Matchable
class Any
Known subtypes
class CommentNode
trait ReactiveElement[Ref]
class ReactiveHtmlElement[Ref]
class ReactiveSvgElement[Ref]
class TextNode

Members list

Value members

Concrete methods

override def apply(parentNode: Base): Unit

You can count on this method being a no-op in your libraries and end user code.

You can count on this method being a no-op in your libraries and end user code.

The reason this method is not abstract is to avoid broken SAM sugar in case of meta modifiers. See https://github.com/raquo/scala-dom-types/issues/27

Attributes

Definition Classes
def maybeParent: Option[Base]

Inherited fields

val ref: Ref

Reference to the real DOM node which this ReactiveNode represents. Laminar nodes MUST NOT share the same ref. This isn't "virtual dom"!

Reference to the real DOM node which this ReactiveNode represents. Laminar nodes MUST NOT share the same ref. This isn't "virtual dom"!

Attributes

Inherited from:
ReactiveNode