Optional
Called every time the element is inserted into the DOM
The setAttribute() method of the Element interface sets the value of an attribute on the specified element.
setAttribute()
MDN Reference
Called every time the element is inserted into the DOM