UNPKG

survey-analytics

Version:

SurveyJS analytics Library.

23 lines (22 loc) 820 B
import { Table } from "../table"; export interface ITableExtension { location: string; name: string; visibleIndex: number; render: (table: Table, opt: any) => HTMLElement; destroy?: () => void; } export declare class TableExtensions { private table; constructor(table: Table); private static extensions; private renderedExtensions; render(targetNode: HTMLElement, location: string, options?: any): void; destroy(): void; static registerExtension(extension: ITableExtension): void; private static removeExtension; static unregisterExtension(location: string, actionName: string): void; static findExtension(location: string, actionName: string): ITableExtension; static getExtensions(location: string): Array<ITableExtension>; private sortExtensions; }