com.raquo.domtypes.defs.reflectedAttrs

Type members

Classlikes

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 has better performance than using attributes.

For more background on reflected attributes, see:

See also: