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
Value members
Inherited methods
@inline
protected def booleanReflectedAttr(key: String, attrCodec: Codec[Boolean, String]): ReflectedAttr[Boolean, Boolean]
- Inherited from
- ReflectedHtmlAttrBuilder
@inline
protected def booleanReflectedAttr(attrKey: String, propKey: String, attrCodec: Codec[Boolean, String]): ReflectedAttr[Boolean, Boolean]
- Inherited from
- ReflectedHtmlAttrBuilder