The HTML element on which the attribute will be set.
The name of the attribute to be set.
The value to assign to the specified attribute.
MDN Documentation for Element.setAttribute()
// Get an input element by its GUID
const element = ix.api.dom.getHtml("<ELEMENT-GUID>");
// Set the 'type' attribute of the input element to 'button'
ix.api.dom.setAttribute(element, "type", "button");
Assigns a specified value to an attribute on the given HTML element.