class CustomHeader extends HTMLElement { connectedCallback() { this.attachShadow({ mode: 'open' }); this.shadowRoot.innerHTML = `
`; // Initialize Feather Icons in shadow DOM setTimeout(() => { if (window.feather) { window.feather.replace({ scope: this.shadowRoot }); }, 100); } } customElements.define('custom-header', CustomHeader);