import { EventTargetLike } from "https://deno.land/x/evt@v2.4.20/lib/types/EventTargetLike.ts";
const { HasEventTargetAddRemove } = EventTargetLike;
import { type EventTargetLike } from "https://deno.land/x/evt@v2.4.20/lib/types/EventTargetLike.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,