Skip to content

Glossary: Vue.js

Emit

Also written: emits, emitted event, custom event

To send a custom event from a child component to its parent. ProductCard emits `add` with the product when its button is clicked.

Where the book teaches it

Related terms

defineEmitsProps down, events upProp