use more user-friendly info

pull/16008/head
ComputerGuy 4 months ago
parent 8a10ffde5d
commit 9cbec0d188

@ -4,7 +4,7 @@ title: bind:
Data ordinarily flows down, from parent to child. The `bind:` directive allows data to flow the other way, from child to parent. Data ordinarily flows down, from parent to child. The `bind:` directive allows data to flow the other way, from child to parent.
The general syntax is `bind:property={expression}`, where `expression` is an [_lvalue_](https://en.wikipedia.org/wiki/Value_(computer_science)#lrvalue) (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: 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:
<!-- prettier-ignore --> <!-- prettier-ignore -->
```svelte ```svelte

Loading…
Cancel
Save