import {TesoftComponent} from "../scripts/main.ts";

export class TesoftLoader extends TesoftComponent {
    constructor() {
        super();

        const template = document.getElementById("tesoft-loader-template") as HTMLTemplateElement;
        const templateContent = template.content;

        const shadowRoot = this.attachShadow({mode: "open"});
        shadowRoot.appendChild(templateContent.cloneNode(true));
    }
}

customElements.define("tesoft-loader", TesoftLoader);
