Abstract
Protected
Called every time the element is inserted into the DOM
Called every time the element is removed from the DOM.
Optional
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