import { default } from "https://deno.land/x/lume@v2.4.1/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