Custom event names

From the docs:

this.$emit('myEvent')
<my-component @my-event="doSomething"></my-component>

Custom events

Emitted events can be defined on the component via the emits option.

app.component('custom-form', {
  emits: ['inFocus', 'submit']
})