Two-way data binding in Vue.js

Last Updated: January 9, 2018

What is two-way data binding in Vue.js?
You can update dom with your Vue instance also when you update DOM you can get those updates to Vue

Following example shows the one-way binding. Value of the email field is updated by the email data property of the Vue instance. But, when the user types in the input field you can not see the updates inside the div element



  
    
    
    
    Two-Way Data Bind
  
  
      
Email you entered : {{email}}

So to make two-way binding you can change the line 12 with v-model