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`
`; html`
`; html`onetwothree`; function HelloWorld() { return html`

Bar List

${bars.map((bar) => html`

${bar}

`)} `; } const trickyParens = html``; const nestedFun = /* HTML */ `${outerExpr(1)} `; const closingScriptTagShouldBeEscapedProperly = /* HTML */ ` `; const closingScriptTag2 = /* HTML */ ``; html`
`; html`
`; html`
`; html`
`; html`
`;