Move component v-model to its own page #2153
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
The docs for component
v-model
are currently located at the end of the page about component events. I think that made sense historically, but there's now enough material on both topics to justify splitting them into two pages.While it's clearly necessary to document component events before component
v-model
, I don't think they're really the same topic. I frequently find myself linking to the docs for componentv-model
, and it took me a while to 'learn' that they lived at the bottom of the page about events. Time and again I would look for a separate page, like the page about 'Form Input Bindings' for usingv-model
on native elements.Redirects
I've updated internal links, but I've also tried to provide redirects for external links to the
v-model
docs. See the code at the top ofevents.md
for details.Notes for translators
I've tried to make minimal changes to the text itself. The new
v-model.md
should contain almost the same content that was inevents.md
. The only intentional changes I've made to the text are:##
instead of###
.