ag-grid-community
Version:
Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
22 lines (21 loc) • 757 B
TypeScript
import { Component } from "./component";
export declare type LabelAlignment = 'left' | 'right' | 'top';
export interface IAgLabel {
label?: string;
labelWidth?: number | 'flex';
labelSeparator?: string;
labelAlignment?: LabelAlignment;
}
export declare abstract class AgAbstractLabel extends Component {
protected abstract eLabel: HTMLElement;
protected labelSeparator: string;
protected labelAlignment: LabelAlignment;
protected config: IAgLabel;
private label;
protected postConstruct(): void;
private refreshLabel;
setLabelSeparator(labelSeparator: string): this;
setLabel(label: string): this;
setLabelAlignment(alignment: LabelAlignment): this;
setLabelWidth(width: number | 'flex'): this;
}