51d5dc4789
* fix: don't throw an error when the lit renderer doesn't provide a clientEntrypoint * updating the framework-lit example to match new behavior * fix: updating the playground example to latest lit syntax
17 lines
275 B
JavaScript
17 lines
275 B
JavaScript
import { LitElement, html } from 'lit';
|
|
|
|
export class CalcAdd extends LitElement {
|
|
static get properties() {
|
|
return {
|
|
num: {
|
|
type: Number,
|
|
},
|
|
};
|
|
}
|
|
|
|
render() {
|
|
return html` <div>Number: ${this.num}</div> `;
|
|
}
|
|
}
|
|
|
|
customElements.define('calc-add', CalcAdd);
|