class CustomHeader extends HTMLElement { constructor() { super(); } static get observedAttributes() { return ['title', 'subtitle', 'description']; } attributeChangedCallback(name, oldValue, newValue) { if (this.shadowRoot) { this.render(); } } connectedCallback() { this.attachShadow({ mode: 'open' }); this.render(); } render() { const title = this.getAttribute('title') || 'PixelCraft UI Studio'; const subtitle = this.getAttribute('subtitle') || 'Modern Web Interface Forge'; const description = this.getAttribute('description') || 'Professional UI skeleton built with component architecture'; this.shadowRoot.innerHTML = `
${subtitle}
${description}