$set(name, value);
Set DOM element attribute value.
Parameters
| Param | Type | Details |
|---|---|---|
| name | string | Normalized element attribute name of the property to modify. The name is reverse-translated using the $attr property to the original name. |
| value | string | Value to set the attribute to. The value can be an interpolated string. |
Please login to continue.