Closed Aaron-P closed 3 years ago
Using element[attribute] = value doesn't work as expected for custom attributes. Using element.setAttribute(attribute, value) allows for custom attributes.
Using element[attribute] = value doesn't work as expected for custom attributes. Using element.setAttribute(attribute, value) allows for custom attributes.