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-begi...
Learn Path: https://aka.ms/CreateWebsitesWithVue
Node: https://nodejs.org/
NPM: https://www.npmjs.com/
Vue CLI: https://cli.vuejs.org/
Смотрите видео Adding events to child Vue components [16 of 16] | Beginner's Series to: Vue.js онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Microsoft Developer 30 Июнь 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 575 раз и оно понравилось 11 людям.