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.
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.