import { default } from "https://deno.land/x/lume@v1.15.3/core/events.ts";
Class to manage the event listeners and dispatch events
Type Parameters
E extends Event
Properties
listeners: Map<string, Set<Listener<E>>>
Methods
Assign a listener to an event
dispatchEvent(event: E)
Dispatch an event