com.raquo.domtypes.generic.defs.reflectedAttrs

Type members

Classlikes

trait ReflectedHtmlAttrs[RA[_, _]]

Reflected attributes are attributes that can be set using either a DOM property or an HTML attribute. In practical terms, you don't need to load both props and attrs for these properties, using just one would be enough as they are interchangeable.

Reflected attributes are attributes that can be set using either a DOM property or an HTML attribute. In practical terms, you don't need to load both props and attrs for these properties, using just one would be enough as they are interchangeable.

Note that in JS browser engines, using props is faster than attributes.

For more background on reflected attributes, see:

For type param docs, see ReflectedHtmlAttrBuilder

Type Params
RA

Reflected Attribute, canonically either com.raquo.domtypes.generic.keys.Prop or a type alias to com.raquo.domtypes.generic.keys.HtmlAttr (to remove the extra type param)