CompositeHtmlAttr
class CompositeHtmlAttr(name: String) extends HtmlAttr[String]A space-separated token attribute whose repeated modifiers contribute to one rendered value.
Static values, signals, optional signals, and attribute modifiers selected by chooseMod are
split on HTML ASCII whitespace. Empty tokens are discarded, exact duplicate tokens retain their
first position, and the attribute is omitted when no tokens remain. Ordinary HtmlAttr
definitions remain scalar rather than composing.
Defined by scalive.CompositeHtmlAttr. View source (scalive/api/src/scalive/HtmlElement.scala:60-68)
Methods2
:=
def :=(value: String): Mod.Attr[Nothing]Defined by scalive.CompositeHtmlAttr.:=. View source (scalive/api/src/scalive/HtmlElement.scala:61-62)
def :=(value: Signal[String]): Mod.Attr[Nothing]Defined by scalive.CompositeHtmlAttr.:=. View source (scalive/api/src/scalive/HtmlElement.scala:64-65)
optional
def optional(value: Signal[Option[String]]): Mod.Attr[Nothing]Defined by scalive.CompositeHtmlAttr.optional. View source (scalive/api/src/scalive/HtmlElement.scala:67-68)