import { css, html, LitElement } from "https://esm.sh/lit@3.1.2";
export class SimpleGreeting extends LitElement {
static properties = {
name: {},
};
static styles = css`
:host {
color: blue;
}
`;
constructor() {
super();
this.name = "World";
}
render() {
return html`<p>Hello, ${this.name}!</p>`;
}
}
customElements.define("simple-greeting", SimpleGreeting);