CanonicalReflectedPropBuilder
Canonical implementation of ReflectedHtmlAttrBuilder, using our own Prop class.
Canonical implementation of ReflectedHtmlAttrBuilder, using our own Prop class.
If you are using this implementation, create an implicit value class
around Prop – there you can e.g. implement the :=
method.
Alternatively, you can use CanonicalReflectedHtmlAttrBuilder, or implement your own ReflectedHtmlAttrBuilder that uses either a subclass of either Prop or com.raquo.domtypes.generic.keys.HtmlAttr, or a completely unrelated type of your own.
Value members
Concrete methods
override protected def reflectedAttr[V, DomPropV](attrKey: String, propKey: String, attrCodec: Codec[V, String], propCodec: Codec[V, DomPropV]): Prop[V, DomPropV]
- Definition Classes
Inherited methods
@inline
protected def booleanReflectedAttr(key: String, attrCodec: Codec[Boolean, String]): Prop[Boolean, Boolean]
- Inherited from
- ReflectedHtmlAttrBuilder
@inline
protected def booleanReflectedAttr(attrKey: String, propKey: String, attrCodec: Codec[Boolean, String]): Prop[Boolean, Boolean]
- Inherited from
- ReflectedHtmlAttrBuilder