Event name. Must include only alphanumeric characters, -
, /
, :
and _
.
Event handler callback.
Optional
options: OptionsEvent listening options.
A promise resolving to a function to unlisten to the event. Note that removing the listener is required if your listener goes out of scope e.g. the component is unmounted.
Listen to an emitted event to any target.