Emisión de eventos en atributos en Vue
Puedes emitir un evento directamente en el atributo del manejador:
<template>
<button @click="$emit('show')">
btn
</button>
</template>
Puedes pasar parámetros al mismo tiempo:
<template>
<button @click="$emit('show', 'xxx', 'yyy')">
btn
</button>
</template>
Crea un botón que, al hacer clic, emita algún evento.