class CustomProgressTracker extends HTMLElement { connectedCallback() { const currentStep = this.getAttribute('current-step') || '1'; this.attachShadow({ mode: 'open' }); this.shadowRoot.innerHTML = `
1
2
3
4
5
6
`; } } customElements.define('custom-progress-tracker', CustomProgressTracker);