ReflectedHtmlAttrBuilder
This trait builds objects representing reflected attributes which are typically on the left hand side
of the reflectedAttr := value
syntax.
Reflected attributes are explained in the README file.
Also see com.raquo.domtypes.generic.defs.reflectedAttrs.ReflectedHtmlAttrs for a summary of reflected attributes. Basically it's a subset of HTML attributes that are fully mirrored as DOM properties, so typically you don't want to load both an attribute and a property of the same name.
- Type parameters:
- RA
ReflectedAttribute[ScalaValue, PropRawDomValue], either a Prop or an HtmlAttr, depending on whether you want to build properties or attributes
class Object
trait Matchable
class Any
Value members
Abstract methods
protected def reflectedAttr[V, DomPropV](attrKey: String, propKey: String, attrCodec: Codec[V, String], propCodec: Codec[V, DomPropV]): RA[V, DomPropV]
Create a reflected attribute
Create a reflected attribute
Concrete methods
protected def booleanReflectedAttr(attrKey: String, propKey: String, attrCodec: Codec[Boolean, String]): RA[Boolean, Boolean]
protected def booleanReflectedAttr(key: String, attrCodec: Codec[Boolean, String]): RA[Boolean, Boolean]