25 lines
648 B
TypeScript
25 lines
648 B
TypeScript
import * as plugins from './dees-element.plugins';
|
|
|
|
export {
|
|
property,
|
|
html,
|
|
customElement,
|
|
TemplateResult,
|
|
internalProperty,
|
|
} from 'lit-element';
|
|
|
|
export class DeesElement extends plugins.litElement.LitElement {
|
|
@plugins.litElement.property({type: Boolean})
|
|
public goBright: boolean = false;
|
|
public domtoolsPromise = plugins.domtools.elementBasic.setup(this);
|
|
|
|
public connectedCallback() {
|
|
super.connectedCallback();
|
|
this.dispatchEvent(new CustomEvent('domtools-connected'));
|
|
}
|
|
|
|
public disconnectedCallback() {
|
|
super.disconnectedCallback();
|
|
this.dispatchEvent(new CustomEvent('domtools-disconnected'));
|
|
}
|
|
} |