class CustomFooter extends HTMLElement { constructor() { super(); this.attachShadow({ mode: 'open' }); } connectedCallback() { this.shadowRoot.innerHTML = ` `; // Replace feather icons feather.replace({ 'stroke-width': 2 }); } } customElements.define('custom-footer', CustomFooter);