export class AToZList extends HTMLElement { constructor() { super(); this.attachShadow({ mode: 'open' }); } connectedCallback() { this.render(); } render() { const template = document.createElement('template'); template.innerHTML = `
This is where our A to List will go
`; this.shadowRoot.appendChild(template.content.cloneNode(true)); } } customElements.define('a-to-z-list', AToZList);