setAttribute
Set an attribute value on an element, effectively Element.prototype.setAttribute.
mutate.setAttribute.call(element, name, value)
Parameters
- element
{Element}:The element on which to set the attribute.
- name
{String}:The name of the attribute to set.
- value
{String}:The value to set on the attribute.