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/documentation/examples/20-7guis/01-7guis-counter/App.svelte

8 lines
189 B

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