Skip to content

Commit

Permalink
docs: fix typo - count should be model (#2749)
Browse files Browse the repository at this point in the history
* docs: fix typo - count should be model

* Update src/guide/components/v-model.md

Co-authored-by: Ben Hong <[email protected]>

---------

Co-authored-by: Ben Hong <[email protected]>
  • Loading branch information
EtherNoteWorld and bencodezen committed Mar 17, 2024
1 parent 6b2e3b3 commit 90ed831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/guide/components/v-model.md
Expand Up @@ -27,7 +27,7 @@ The parent can then bind a value with `v-model`:

```vue-html
<!-- Parent.vue -->
<Child v-model="count" />
<Child v-model="countModel" />
```

The value returned by `defineModel()` is a ref. It can be accessed and mutated like any other ref, except that it acts as a two-way binding between a parent value and a local one:
Expand Down

0 comments on commit 90ed831

Please sign in to comment.