svelte/site/content/examples/7guis-counter/App.html

3 lines
148 B

<!-- https://github.com/eugenkiss/7guis/wiki#counter -->
<input type=number bind:value={count}>
<button on:click="{() => count += 1}">count</button>