import { EventTargetLike } from "https://deno.land/x/evt@v2.4.16/lib/types/index.ts";
const { HasEventTargetAddRemove } = EventTargetLike;
import { type EventTargetLike } from "https://deno.land/x/evt@v2.4.16/lib/types/index.ts";
const { HasEventTargetAddRemove } = EventTargetLike;
Methods
addEventListener(): void
type: string,
listener: ((evt: E) => void) | null,
options?: boolean | HasEventTargetAddRemove.Options,
removeEventListener(): void
type: string,
listener?: ((evt: E) => void) | null,
options?: HasEventTargetAddRemove.Options | boolean,