We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1a1da0 commit 450199eCopy full SHA for 450199e
content/tutorial/01-svelte/08-stores/06-store-bindings/README.md
@@ -15,7 +15,7 @@ Changing the input value will now update `name` and all its dependents.
15
We can also assign directly to store values inside a component. Add a `<button>` element:
16
17
```svelte
18
-<button on:click="{() => $name += '!'}">
+<button on:click={() => $name += '!'}>
19
Add exclamation mark!
20
</button>
21
```
0 commit comments