Skip to content

Commit

Permalink
docs: link to vue docs watch for options (vuejs#1402)
Browse files Browse the repository at this point in the history
  • Loading branch information
escapedcat authored and ktsn committed Oct 23, 2018
1 parent 7c18187 commit bd23b9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ const store = new Vuex.Store({ ...options })
- `watch(fn: Function, callback: Function, options?: Object): Function`
Reactively watch `fn`'s return value, and call the callback when the value changes. `fn` receives the store's state as the first argument, and getters as the second argument. Accepts an optional options object that takes the same options as Vue's `vm.$watch` method.
Reactively watch `fn`'s return value, and call the callback when the value changes. `fn` receives the store's state as the first argument, and getters as the second argument. Accepts an optional options object that takes the same options as [Vue's `vm.$watch` method](https://vuejs.org/v2/api/#watch).
To stop watching, call the returned unwatch function.
Expand Down

0 comments on commit bd23b9a

Please sign in to comment.