Created
June 4, 2020 11:54
-
-
Save cssimsek/08f6158c2853c436262699ed9e184d2e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { LitElement, html, property, customElement } from 'lit-element'; | |
@customElement('simple-greeting') | |
export class SimpleGreeting extends LitElement { | |
@property() name = 'World'; | |
render() { | |
return html`<p>Hello, ${this.name}!</p>`; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment