epubjs
Version:
Parse and Render Epubs
19 lines (12 loc) • 303 B
TypeScript
interface HooksObject {
[key: string]: Hook
}
export default class Hook {
constructor(context: any);
register(func: Function): void;
register(arr: Array<Function>): void;
deregister(func: Function): void;
trigger(...args: any[]): Promise<any>;
list(): Array<any>;
clear(): void;
}