Vue.js - Documenting emitted events on your components
Emitting events from our components is a great way to notify the parent component about something that happened on the child and pass any additional data needed. It can get messy tho, from times to times.
This has been written specifically for Composition API but the same applies on Options