1. 14
    Create a Two Way Binding to Update Data Throughout an App with Vue v-model
    1m 51s

Create a Two Way Binding to Update Data Throughout an App with Vue v-model

Share this video with your friends

Send Tweet

We'll see how we can define two-way binding using the v-model directive. This allows us to update data in our component and have it change the data stored in the application. This is particularly useful in forms within our application.

We'll see a form in action by creating a message data prop and binding the input field to that data prop and watch the data get updated. If this prop is updated anywhere in the application it will affect the input that we defined.