Fixed bind:checked tutorial example

Clicking the checkbox wasn't changing the text properly at https://svelte.dev/tutorial/checkbox-inputs. It seems like the "bind:" got left out somehow
pull/2772/head
Alissa Hartenbaum 6 years ago committed by GitHub
parent 3cfbd66841
commit 8fbf60e496
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3,7 +3,7 @@
</script>
<label>
<input type=checkbox checked={yes}>
<input type=checkbox bind:checked={yes}>
Yes! Send me regular email spam
</label>
@ -15,4 +15,4 @@
<button disabled={!yes}>
Subscribe
</button>
</button>

Loading…
Cancel
Save