RenderableText

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

Companion:
object
class Object
trait Matchable
class Any

Value members

Concrete methods

def asString(value: TextLike): String