4d70170
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<script setup> defineEmits([ 'foo', ]) </script> <template> <div style="display: inline-block;"> <button @click="$emit('foo', 42, 'a')"> Emit event </button> </div> </template>