initialize or connect are triggered when the controller is added to the DOM.
controller
Look into mutation observers. see these threads: