Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface EventTargetLike.NodeStyleEventEmitter.Compat
import { type EventTargetLike } from "https://deno.land/x/evt@v2.5.2/lib/types/EventTargetLike.ts";
const { Compat } = EventTargetLike.NodeStyleEventEmitter;

Properties

addListener: (eventName: string, handler: NodeEventHandler) => void | { }
removeListener: (eventName: string, handler: NodeEventHandler) => void | { }