defineEmits
Also written: emit
A compiler macro in `<script setup>` that declares the events a component can send and returns the `emit` function used to send them.
Also written: emit
A compiler macro in `<script setup>` that declares the events a component can send and returns the `emit` function used to send them.