This lesson is for members. Join us?
Subscribe now and get immediate access to this course, 30 more and all future Vue.js courses!
Declaring Component Events
In this lesson, we learn how to declare the events that could be emitted from a Vue component with defineEmits
. We also learn how this increases the developer experience when using the component by providing accurate and concise autocomplete suggestions. Finally, we learn a trick for grouping all custom component events within the autocomplete suggestion list.
Links