Skip to content

Commit 164d484

Browse files
committed
add missing $
1 parent 56da210 commit 164d484

File tree

1 file changed

+1
-1
lines changed
  • content/tutorial/01-svelte/06-bindings/01-text-inputs

1 file changed

+1
-1
lines changed

content/tutorial/01-svelte/06-bindings/01-text-inputs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ As a general rule, data flow in Svelte is _top down_ — a parent component can
66

77
Sometimes it's useful to break that rule. Take the case of the `<input>` element in this component — we _could_ add an `on:input` event handler that sets the value of `name` to `event.target.value`, but it's a bit... boilerplatey. It gets even worse with other form elements, as we'll see.
88

9-
Instead, we can use the [`bind:value` directive](docs#template-syntax-element-directives-bind-property):
9+
Instead, we can use the [`bind:value` directive]($docs#template-syntax-element-directives-bind-property):
1010

1111
```svelte
1212
<input bind:value={name}>

0 commit comments

Comments
 (0)