emap
Version:
manages event listeners
10 lines (8 loc) • 374 B
TypeScript
import JSDictionary from 'jsdictionary';
declare class EventMap {
public dispatcherMap: JSDictionary;
public map(dispatcher: any, type: string, handler: Function, owner?: any, useCapture?: boolean): void;
public unmap(dispatcher: any, type: string, handler: Function, owner?: any, useCapture?: boolean): void;
public all(): void;
}
export default EventMap;