Two Way Data Binding and V-Model in Vue.js

Two way data binding sets up a binding attribute and an event listener that are executed at the same time. It’s like combining v-bind with v-on all in one directive.

Continue reading

Advertisements

Listening to Click and Keyboard Events in Vue.js

Event listeners are triggered when a user interacts with the DOM. Usually a block of code is executed after an event listener triggers, and some sort of change on the website occurs. Event listeners are most commonly activated when a user clicks or hits certain keys on the keyboard.

Continue reading