Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
c

HtmlAttr

class HtmlAttr[V](name: String, codec: codecs.Encoder[V, String])

A typed, validated HTML attribute definition.

Defined by scalive.HtmlAttr. View source (scalive/api/src/scalive/HtmlElement.scala:42-56)

Methods2

:=

def :=(value: V): Mod.Attr[Nothing]

Defined by scalive.HtmlAttr.:=. View source (scalive/api/src/scalive/HtmlElement.scala:47-49)

def :=(value: Signal[V]): Mod.Attr[Nothing]

Defined by scalive.HtmlAttr.:=. View source (scalive/api/src/scalive/HtmlElement.scala:51-53)

optional

def optional(value: Signal[Option[V]]): Mod.Attr[Nothing]

Defined by scalive.HtmlAttr.optional. View source (scalive/api/src/scalive/HtmlElement.scala:55-56)

Values2

codec

val codec: codecs.Encoder[V, String]

Defined by scalive.HtmlAttr.codec. View source (scalive/api/src/scalive/HtmlElement.scala:42-42)

name

val name: String

Defined by scalive.HtmlAttr.name. View source (scalive/api/src/scalive/HtmlElement.scala:42-42)