Skip to content

Commit 853eff6

Browse files
Update v-model.md (vuejs#2890)
* Update v-model.md > When it is mutated by the child, it causes the parent bound value to be updated as well. Maybe adding a click event to invoke the update would help clarify the example? * Update src/guide/components/v-model.md Co-authored-by: Natalia Tepluhina <[email protected]> --------- Co-authored-by: Natalia Tepluhina <[email protected]>
1 parent e6512c3 commit 853eff6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/guide/components/v-model.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ function update() {
2020
2121
<template>
2222
<div>Parent bound v-model is: {{ model }}</div>
23+
<button @click="update">Increment</button>
2324
</template>
2425
```
2526

0 commit comments

Comments
 (0)