mirror of https://github.com/sveltejs/svelte
parent
a3e95c7b10
commit
cabfebfa95
@ -1,6 +1,5 @@
|
|||||||
<script>
|
<script>
|
||||||
export let count;
|
export let count;
|
||||||
let double;
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<button on:click="{() => count.update(n => n + 1)}">count {$count}</button>
|
<button on:click="{() => count.update(n => n + 1)}">count {$count}</button>
|
Loading…
Reference in new issue