docs: add missing on:click to immutable example (#10079)

pull/10087/head
Fritz Lin 12 months ago committed by GitHub
parent 3c6977add3
commit e9b0908ed8
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