import { LitElement, html } from '@polymer/lit-element'; class MyElement extends LitElement { static get properties() { return { mood: { type: String } }; } constructor() { super(); this.mood = 'happy'; } render() { return html` Web Components are ${ this.mood }! `; } } customElements.define('my-element', MyElement); const someHtml1 = html`
hello ${world}
`; const someHtml2 = /* HTML */ `
hello ${world}
`; html`` html``; html` <${Footer} >footer content ` html`
`