import { WebComponent } from "../../src/index.js"; export class Counter extends WebComponent { static props = { count: 123, }; onInit() { this.onclick = () => ++this.props.count; } get template() { return ``; } } customElements.define("my-counter", Counter);