CanonicalReflectedHtmlAttrBuilder

Canonical implementation of ReflectedHtmlAttrBuilder, using our own HtmlAttr class.

Canonical implementation of ReflectedHtmlAttrBuilder, using our own HtmlAttr class.

If you are using this implementation, create an implicit value class around HtmlAttr – there you can e.g. implement the := method.

Alternatively, you can use CanonicalReflectedPropBuilder, or implement your own ReflectedHtmlAttrBuilder that uses either a subclass of either HtmlAttr or com.raquo.domtypes.generic.keys.Prop, or a completely unrelated type of your own.

Companion
object
class Object
trait Matchable
class Any

Value members

Inherited methods

@inline
protected def booleanReflectedAttr(key: String, attrCodec: Codec[Boolean, String]): ReflectedAttr[Boolean, Boolean]
@inline
protected def booleanReflectedAttr(attrKey: String, propKey: String, attrCodec: Codec[Boolean, String]): ReflectedAttr[Boolean, Boolean]
@inline
protected def doubleReflectedAttr(key: String): ReflectedAttr[Double, Double]
@inline
protected def intReflectedAttr(key: String): ReflectedAttr[Int, Int]
@inline
protected def intReflectedAttr(attrKey: String, propKey: String): ReflectedAttr[Int, Int]
@inline
protected def stringReflectedAttr(key: String): ReflectedAttr[String, String]
@inline
protected def stringReflectedAttr(attrKey: String, propKey: String): ReflectedAttr[String, String]