Skip to content

Commit f9d0df6

Browse files
authored
docs: add link to lvalue info on bind: docs (#16008)
* add link to lvalue * use more user-friendly info
1 parent 94a2bca commit f9d0df6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

documentation/docs/03-template-syntax/12-bind.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: bind:
44

55
Data ordinarily flows down, from parent to child. The `bind:` directive allows data to flow the other way, from child to parent.
66

7-
The general syntax is `bind:property={expression}`, where `expression` is an _lvalue_ (i.e. a variable or an object property). When the expression is an identifier with the same name as the property, we can omit the expression — in other words these are equivalent:
7+
The general syntax is `bind:property={expression}`, where `expression` is an [_lvalue_](https://press.rebus.community/programmingfundamentals/chapter/lvalue-and-rvalue/) (i.e. a variable or an object property). When the expression is an identifier with the same name as the property, we can omit the expression — in other words these are equivalent:
88

99
<!-- prettier-ignore -->
1010
```svelte

0 commit comments

Comments
 (0)