fix: example immutable missing on:click

pull/10107/head
Fritz Lin 3 years ago
parent bde282adba
commit b08914dd60

@ -13,7 +13,7 @@
<!-- the text will flash red whenever
the `todo` object changes -->
<button bind:this={btn}>
<button bind:this={btn} on:click>
{todo.done ? '👍' : ''}
{todo.text}
</button>

Loading…
Cancel
Save