UNPKG

epubjs

Version:
19 lines (12 loc) 303 B
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; }