@visactor/vtable-gantt
Version:
canvas table width high performance
17 lines (16 loc) • 656 B
TypeScript
import type { Gantt } from '../Gantt.ts';
import type { IGanttPlugin } from './interface';
import type { GanttConstructorOptions } from '../ts-types/gantt-engine';
export declare class PluginManager {
private plugins;
private gantt;
constructor(gantt: Gantt, options: GanttConstructorOptions);
private _initializePluginRun;
register(plugin: IGanttPlugin): void;
registerAll(plugins: IGanttPlugin[]): void;
getPlugin(id: string): IGanttPlugin | undefined;
getPluginByName(name: string): IGanttPlugin | undefined;
private _bindGanttEventForPlugin;
updatePlugins(plugins?: IGanttPlugin[]): void;
release(): void;
}