class CustomHeader extends HTMLElement { connectedCallback() { this.attachShadow({ mode: 'open' }); this.shadowRoot.innerHTML = `
`; // Initialize feather icons after content is added setTimeout(() => { feather.replace(); }, 0); } } customElements.define('custom-header', CustomHeader);