fix CE defines

This commit is contained in:
“chrisshank” 2024-12-03 14:34:37 -08:00
parent 5a4c4b1695
commit 9d1d202dee
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
// will eventually extend Lit's ReactiveElement
export class FolkElement extends HTMLElement {
static tagName = '';
static define() {
if (customElements.get(this.tagName)) return;
customElements.define(this.tagName, this);
}
}