1 |
|
2 |
|
3 |
|
4 | import { IEventEmitter } from "../interfaces/iEventEmitter";
|
5 | import { GridOptionsWrapper } from "../gridOptionsWrapper";
|
6 | import { AgEvent } from "../events";
|
7 | export declare class BeanStub implements IEventEmitter {
|
8 | static EVENT_DESTROYED: string;
|
9 | private localEventService;
|
10 | private destroyFunctions;
|
11 | private destroyed;
|
12 | destroy(): void;
|
13 | addEventListener(eventType: string, listener: Function): void;
|
14 | removeEventListener(eventType: string, listener: Function): void;
|
15 | dispatchEventAsync(event: AgEvent): void;
|
16 | dispatchEvent<T extends AgEvent>(event: T): void;
|
17 | addDestroyableEventListener(eElement: Window | HTMLElement | IEventEmitter | GridOptionsWrapper, event: string, listener: (event?: any) => void): void;
|
18 | isAlive(): boolean;
|
19 | addDestroyFunc(func: () => void): void;
|
20 | }
|