@bemit/consent-ui
Version:
© 2022 [bemit](https://bemit.eu)
15 lines (14 loc) • 421 B
TypeScript
export declare abstract class EventAware {
protected handlers: {
[scope: string]: {
[id: string]: (...data: any) => void;
};
};
protected state: {
events: number;
};
protected call(scope: string, ...data: any): void;
private getEvtId;
protected on(scope: string, cb: (...args: any) => void): string;
protected off(scope: string, evtId: string): void;
}