mirror of https://github.com/ColorlibHQ/AdminLTE
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
423 B
13 lines
423 B
import { Destructible } from './types/interfaces';
|
|
declare type Receiver = NodeListOf<Element> | Element | Window;
|
|
export default class EventReceiver implements Destructible {
|
|
private receiver;
|
|
private eventDictionary;
|
|
constructor(receiver: Receiver);
|
|
on(eventType: string, eventHandler: EventListener): void;
|
|
off(eventType: string): void;
|
|
destroy(): void;
|
|
private removeAllEvents;
|
|
}
|
|
export {};
|