Stage-3 decorator for fields, getters, setters, and accessors that reflects a property to an HTML
attribute. So when the value of the property changes, it is reflected in the element's HTML attributes.
It also records the attribute name into the class'sobservedAttributed to listen for changes on the HTML.
Description
Stage-3 decorator for fields, getters, setters, and accessors that reflects a property to an HTML attribute. So when the value of the property changes, it is reflected in the element's HTML attributes. It also records the attribute name into the class's
observedAttributedto listen for changes on the HTML.Example
Leads to: