CanonicalReflectedPropBuilder

trait CanonicalReflectedPropBuilder extends ReflectedHtmlAttrBuilder[[V, DomV] =>> Prop[V, DomV]]

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.

trait ReflectedHtmlAttrBuilder[[V, DomV] =>> Prop[V, DomV]]
class Object
trait Matchable
class Any

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]
@inline
protected def booleanReflectedAttr(attrKey: String, propKey: String, attrCodec: Codec[Boolean, String]): Prop[Boolean, Boolean]
@inline
protected def doubleReflectedAttr(key: String): Prop[Double, Double]
@inline
protected def intReflectedAttr(key: String): Prop[Int, Int]
@inline
protected def intReflectedAttr(attrKey: String, propKey: String): Prop[Int, Int]
@inline
protected def stringReflectedAttr(key: String): Prop[String, String]
@inline
protected def stringReflectedAttr(attrKey: String, propKey: String): Prop[String, String]