dees-element/ts/index.ts

19 lines
496 B
TypeScript
Raw Normal View History

2020-11-25 13:43:39 +00:00
import * as plugins from './dees-element.plugins';
export class DeesElement extends plugins.litElement.LitElement {
public goBright: boolean = false;
public domtoolsPromise = plugins.domtools.elementBasic.setup(this);
public connectedCallback() {
super.connectedCallback();
2020-11-25 14:23:25 +00:00
this.dispatchEvent(new CustomEvent('domtools-connected'));
2020-11-25 13:43:39 +00:00
}
public disconnectedCallback() {
super.disconnectedCallback();
this.dispatchEvent(new CustomEvent('domtools-disconnected'));
}
}