fix(core): update

This commit is contained in:
2020-11-25 13:43:39 +00:00
commit c21bbdb147
14 changed files with 11602 additions and 0 deletions

View File

@ -0,0 +1,11 @@
import { LitElement } from 'lit-element';
const litElement = {
LitElement
};
import * as domtools from '@designestate/dees-domtools';
export {
litElement,
domtools
};

19
ts/index.ts Normal file
View File

@ -0,0 +1,19 @@
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();
this.dispatchEvent(new CustomEvent('domtools-disconnected'));
}
public disconnectedCallback() {
super.disconnectedCallback();
this.dispatchEvent(new CustomEvent('domtools-disconnected'));
}
}

16
ts/tsconfig.json Normal file
View File

@ -0,0 +1,16 @@
{
"compilerOptions": {
"target": "es2017",
"module": "es2015",
"moduleResolution": "node",
"lib": ["es2017", "dom"],
"declaration": true,
"inlineSources": true,
"inlineSourceMap": true,
"noUnusedLocals": true,
"noFallthroughCasesInSwitch": true,
"outDir": "dist/",
"skipLibCheck": true,
"experimentalDecorators": true
}
}