Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/index.ts>EventTargetLike.JQueryStyleEventEmitter

💧EventEmitter's typesafe replacement
Go to Latest
namespace EventTargetLike.JQueryStyleEventEmitter
import { EventTargetLike } from "https://deno.land/x/evt@v2.5.6/lib/types/index.ts";
const { JQueryStyleEventEmitter } = EventTargetLike;
interface EventTargetLike.JQueryStyleEventEmitter
import { type EventTargetLike } from "https://deno.land/x/evt@v2.5.6/lib/types/index.ts";
const { JQueryStyleEventEmitter } = EventTargetLike;

Properties

on: (eventName: string, handler: Function) => void
off: (eventName: string, handler: Function) => void