UNPKG

survey-analytics

Version:

SurveyJS Dashboard is a UI component for visualizing and analyzing survey data. It interprets the form JSON schema to identify question types and renders collected responses using interactive charts and tables.

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; }