docs: fix example immutable missing on:click (#10107)

pull/10149/head
Fritz Lin 6 months ago committed by GitHub
parent bde282adba
commit c71ef10c54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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