How to have a ‘connectedCallback’ for when all child custom elements have been connected
Use slot elements in your ShadowDOM template. Build your custom elements in a way so that they can live in any context, like as a child or parent element, without having any dependencies with other custom-elements. This approach will give you a modular design in which you can utilize your custom-elements in any situation. But … Read more