Episode

Adding events to child Vue components [16 of 16] | Beginner's Series to: Vue.js

While props allow you to send information into a child component, events allow you to pass data back up. Vue allows you to add custom events to a component, making it completely modular. This video will close off our exploration by seeing how we can use events to pass data up to a parent component. 

Sample code: https://github.com/microsoft/vue-beginners-videos 
Learn Path: https://aka.ms/CreateWebsitesWithVue
Node: https://nodejs.org/  
NPM: https://www.npmjs.com/  
Vue CLI: https://cli.vuejs.org/

JavaScript