Initial checkin.

This commit is contained in:
Arthur Evans
2019-12-03 17:05:21 -08:00
commit 387a753d1f
8 changed files with 4105 additions and 0 deletions

24
my-element.ts Normal file
View File

@@ -0,0 +1,24 @@
import { LitElement, html, customElement, property } from 'lit-element';
@customElement('my-element')
class MyElement extends LitElement {
@property({type: String})
name = 'World';
constructor() {
super();
}
render(){
return html`
<p>Hello, ${this.name}!</p>
`;
}
}
declare global {
interface HTMLElementTagNameMap {
'my-element': MyElement;
}
}