fix CE defines
This commit is contained in:
parent
5a4c4b1695
commit
9d1d202dee
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue