Properties > Targets

Attribute

The attribute updater will update the matched element(s) by setting an attribute on the element(s) equal to the component property value (or computed use value). The name of the attribute to be updated is passed as the value of this updater:

...
// will set a attribute named `total` on the matched element(s)
attribute: 'total',
...
Next: DOM Previous: Property