UNPKG

ag-grid-community

Version:

Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components

18 lines (17 loc) 693 B
import { AgAbstractLabel } from './agAbstractLabel'; export declare type FieldElement = HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement; export declare abstract class AgAbstractField<T> extends AgAbstractLabel { static EVENT_CHANGED: string; protected abstract displayTag: string; protected abstract className: string; protected value: T; protected disabled: boolean; protected postConstruct(): void; onValueChange(callbackFn: (newValue: T) => void): this; getWidth(): number; setWidth(width: number): this; getValue(): T; setValue(value: T, silent?: boolean): this; setDisabled(disabled: boolean): this; isDisabled(): boolean; }