class CustomFooter extends HTMLElement { connectedCallback() { this.attachShadow({ mode: 'open' }); this.shadowRoot.innerHTML = ` `; // Initialize Feather icons after rendering setTimeout(() => { feather.replace(); }, 0); } } customElements.define('custom-footer', CustomFooter);