Attr

attr:*

Forces the prop to be treated as a attribute instead of an property. Useful for Web Components where you want to set attributes.

1
<my-element attr:status={props.status} />

Комментарии