UNPKG

@flashport/flashport

Version:

FlashPort is a TypeScript 2D graphics library that largely replicates the Flash ActionScript 3.0 library

9 lines (8 loc) 419 B
import { AEvent } from "./AEvent"; export interface IEventDispatcher { addEventListener(type: string, listener: Function, useCapture?: boolean, priority?: number, useWeakReference?: boolean): void; dispatchEvent(event: AEvent): boolean; hasEventListener(type: string): boolean; removeEventListener(type: string, listener: Function, useCapture?: boolean): void; willTrigger(type: string): boolean; }