You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/site/content/examples/20-7guis/01-7guis-counter/App.svelte

7 lines
184 B

<!-- https://eugenkiss.github.io/7guis/tasks#counter -->
<script>
let count = 0;
</script>
<input type=number bind:value={count}>
<button on:click="{() => count += 1}">count</button>