UNPKG

@visactor/vtable

Version:

canvas table width high performance

15 lines (14 loc) 634 B
import type { BaseTableAPI, BaseTableConstructorOptions } from '../ts-types/base-table'; import type { IVTablePlugin } from './interface'; export declare class PluginManager { private plugins; private table; constructor(table: BaseTableAPI, options: BaseTableConstructorOptions); register(plugin: IVTablePlugin): void; registerAll(plugins: IVTablePlugin[]): void; getPlugin(id: string): IVTablePlugin | undefined; getPluginByName(name: string): IVTablePlugin | undefined; _bindTableEventForPlugin(plugin: IVTablePlugin): void; updatePlugins(plugins?: IVTablePlugin[]): void; release(): void; }