Skip to content

Instantly share code, notes, and snippets.

@cssimsek
Created June 4, 2020 11:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cssimsek/08f6158c2853c436262699ed9e184d2e to your computer and use it in GitHub Desktop.
Save cssimsek/08f6158c2853c436262699ed9e184d2e to your computer and use it in GitHub Desktop.
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