@visactor/vtable
Version:
canvas table width high performance
22 lines (21 loc) • 755 B
TypeScript
import { Title as TitleComponents } from './../../vrender';
import type { TitleAttrs } from './../../vrender';
import type { ITitle } from '../../ts-types/component/title';
import type { BaseTableAPI } from '../../ts-types/base-table';
export interface ITitleComponent {
new (titleOption: ITitle, table: BaseTableAPI): Title;
}
export declare class Title {
table: BaseTableAPI;
_titleOption: ITitle;
isReleased: boolean;
private _titleComponent;
private _cacheAttrs;
constructor(titleOption: ITitle, table: BaseTableAPI);
private _createOrUpdateTitleComponent;
resize(): void;
_adjustTableSize(attrs: TitleAttrs): void;
release(): void;
private _getTitleAttrs;
getComponentGraphic(): TitleComponents;
}