fix(core): update

This commit is contained in:
2020-05-10 23:14:17 +00:00
commit 25c0af8eae
15 changed files with 10216 additions and 0 deletions

View File

@ -0,0 +1,35 @@
import { LitElement, property, html, customElement } from 'lit-element';
import { TemplateResult } from 'lit-html';
@customElement('lele-element')
export class LeleElement extends LitElement {
@property()
public footerText = `Lossless GmbH - 2018`;
constructor() {
super();
// you have access to all kinds of things through this.
// this.setAttribute('gotIt','true');
}
public render(): TemplateResult {
return html`
<style>
@import url('https://fonts.googleapis.com/css?family=Roboto');
:host {
font-family: 'Roboto', sans-serif;
background: #FCFCFC;
box-shadow: 0px 0px 5px rgba(0,0,0,0.6);
display: block;
box-sizing: border-box;
}
:host([hidden]) {
display: none;
}
</style>
<slot></slot>
`;
}
}

5
ts_web/index.ts Normal file
View File

@ -0,0 +1,5 @@
import { LeleElement } from './elements/lele-element';
export {
LeleElement
};

16
ts_web/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
}
}