RenderableText

com.raquo.laminar.modifiers.RenderableText
See theRenderableText companion object
trait RenderableText[-TextLike]

RenderableText[A] is evidence that you can convert a value of type A to a string for the purpose of rendering it as a TextNode.

If you have an implicit val of RenderableText[A], Laminar can render your A type values by converting them to strings (and ultimately into com.raquo.laminar.nodes.TextNode), and will accept your values as a valid Modifier, and in child.text <--.

See also – RenderableNode

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def asString(value: TextLike): String