@anglr/grid
Version:
Angular module displaying grid
39 lines • 1.23 kB
TypeScript
import { TemplateRef } from '@angular/core';
import { VisualPluginOptions } from '../../visualPluginOptions/visualPluginOptions.interface';
import { GridPlugin } from '../../gridPlugin/gridPlugin.interface';
/**
* Texts that are used within NoDataRenderer
*/
export interface NoDataRendererTexts {
/**
* Text that should be displayed when there is no data available
*/
noData: string;
/**
* Text that should be displayed when there is no data and data are loaded
*/
loading: string;
/**
* Text that should be displayed when data were not loaded yet, before first obtaining of data
*/
notLoaded: string;
}
/**
* Base no data renderer options
*/
export interface NoDataRendererOptions<TCssClasses = unknown> extends VisualPluginOptions<TCssClasses> {
/**
* Texts that are used within NoDataRenderer
*/
texts: NoDataRendererTexts;
/**
* Custom template for no data
*/
template: TemplateRef<unknown> | null;
}
/**
* Public API for no data renderer
*/
export interface NoDataRenderer<TOptions extends NoDataRendererOptions = NoDataRendererOptions> extends GridPlugin<TOptions> {
}
//# sourceMappingURL=noDataRenderer.interface.d.ts.map