import { LitElement, html } from "lit"; import { property, customElement } from "lit/decorators.js"; /** * Add stwo numbers together and returns the result. * @param {number} value1 The first value * @param {number} value2 The second value */ function addNumbers(value1, value2) { return value1 + value2; } @customElement("my-element") export class MyElement extends LitElement { @property() greet = "nobody"; bool = false; pi: number = Math.PI; regex = /[a-z]/; override render() { return html`

Hello ${this.greet}!

`; } }