com.raquo.laminar.modifiers.RenderableNode
See theRenderableNode companion object
RenderableNode[Component]
is evidence that you can convert a Component to a Laminar ChildNode.
If you have an implicit val of RenderableNode[Component], Laminar can render your Component-s by converting them to ChildNode-s, and will accept your Component-s in child <--
, children <--
, etc.
A Component
must have a 1-to-1 relationship to a Laminar ChildNode. Your Component class/trait should have something like val node: ChildNode.Base
or lazy val node: ChildNode.Base
in it, it must not be a var
or a def
.
See also – RenderableText
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article