import { default } from "https://deno.land/x/evtemitter@v3.1.0/EventEmitter.ts";
Emit an event with given detail Calls all listeners that listen to the emitted event
Type Parameters
Ev extends EventNames<UserEvents>
Parameters
type: Ev
name of the event
...unnamed 1: CustomEventDetailParameter<UserEvents, Ev>
the detail that should be applied to the event