import { component } from "ottavino"; component({ tag: "my-counter", shadow: true, template: ` {{this.count}} `, properties: { count: 0 }, this: { increase: function() { this.count++; }, decrease: function() { this.count--; } } });