handsontable
Version:
Handsontable is a JavaScript Spreadsheet Component available for React, Angular and Vue.
22 lines (18 loc) • 498 B
TypeScript
import Core from '../../core';
export class BasePlugin {
constructor(hotInstance: Core);
pluginName: string;
pluginsInitializedCallbacks: string[];
isPluginsReady: boolean;
enabled: boolean;
initialized: boolean;
init(): void;
enablePlugin(): void;
disablePlugin(): void;
updatePlugin(): void;
addHook(name: string, callback: () => void): void;
removeHooks(name: string): void;
clearHooks(): void;
callOnPluginsReady(callback: () => void): void;
destroy(): void;
}