You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not possible without major refactoring in v2 because the template on the parent cannot change the render function on the children and it involves knowing the type of the child.
What problem does this feature solve?
Mostly just a convenience.
It would allow the last example here: https://vuejs.org/v2/guide/components.html#Using-v-model-on-Components
...to work without losing the syntactic sugar of v-model.
Makes it usable with props as well, which is one way
v-model
can trip you up sometimes (getting prop mutation warnings ifv-model
ing a prop).What does the proposed API look like?
v-model.bubble="value"
This would result in
The text was updated successfully, but these errors were encountered: