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`
${bar}
`)} `; } const trickyParens = html``; const nestedFun = /* HTML */ `${outerExpr( 1 )} `; const closingScriptTagShouldBeEscapedProperly = /* HTML */ ` `; const closingScriptTag2 = /* HTML */ `