We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 524a4b5 commit a3eff13Copy full SHA for a3eff13
src/v2/guide/computed.md
@@ -213,7 +213,7 @@ var watchExampleVM = new Vue({
213
},
214
watch: {
215
// whenever question changes, this function will run
216
- question: function (newQuestion) {
+ question: function (newQuestion, oldQuestion) {
217
this.answer = 'Waiting for you to stop typing...'
218
this.getAnswer()
219
}
@@ -271,7 +271,7 @@ var watchExampleVM = new Vue({
271
answer: 'I cannot give you an answer until you ask a question!'
272
273
274
275
276
277
0 commit comments