Skip to content

Commit 90688fa

Browse files
likevbencodezen
andauthored
Update options-data.md (#950)
* Update options-data.md from Vue.js 2.x you can not just watch an expression vuejs/vue#844 (comment) * Update src/api/options-data.md Co-authored-by: Ben Hong <ben@bencodezen.io> * docs: improve phrasing Co-authored-by: Ben Hong <ben@bencodezen.io>
1 parent 588c1f6 commit 90688fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/options-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177

178178
- **Details:**
179179

180-
An object where keys are expressions to watch and values are the corresponding callbacks. The value can also be a string of a method name, or an Object that contains additional options. The component instance will call `$watch()` for each entry in the object at instantiation. See [$watch](instance-methods.html#watch) for more information about the `deep`, `immediate` and `flush` options.
180+
An object where keys are reactive properties to watch — examples include [data](/api/options-data.html#data-2) or [computed](/api/options-data.html#computed) properties — and values are the corresponding callbacks. The value can also be a string of a method name, or an Object that contains additional options. The component instance will call `$watch()` for each entry in the object at instantiation. See [$watch](instance-methods.html#watch) for more information about the `deep`, `immediate` and `flush` options.
181181

182182
- **Example:**
183183

0 commit comments

Comments
 (0)