method
attached

void attached( )

Called by the DOM when this element has been inserted into the live document.

More information can be found in the Custom Elements draft specification.