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