UNPKG

ag-grid-enterprise

Version:

Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue

20 lines (19 loc) 1.38 kB
import type { AgInputFieldParams, _AgComponentSelector, _AgCoreBeanCollection, _AgWidgetSelectorType, _BaseEvents, _BaseProperties, _IPropertiesService } from 'ag-grid-community'; import { AgAbstractInputField } from 'ag-grid-community'; export interface AgInputRangeParams<TComponentSelectorType extends string> extends AgInputFieldParams<TComponentSelectorType> { min?: number; max?: number; step?: number; } export declare class AgInputRange<TBeanCollection extends _AgCoreBeanCollection<TProperties, TGlobalEvents, TCommon, TPropertiesService>, TProperties extends _BaseProperties, TGlobalEvents extends _BaseEvents, TCommon, TPropertiesService extends _IPropertiesService<TProperties, TCommon>, TComponentSelectorType extends string> extends AgAbstractInputField<TBeanCollection, TProperties, TGlobalEvents, TCommon, TPropertiesService, TComponentSelectorType, HTMLInputElement, string, AgInputRangeParams<TComponentSelectorType>> { private min; private max; constructor(config?: AgInputRangeParams<TComponentSelectorType>); postConstruct(): void; protected addInputListeners(): void; setMinValue(value: number): this; setMaxValue(value: number): this; setStep(value: number): this; setValue(value: string, silent?: boolean): this; } export declare const AgInputRangeSelector: _AgComponentSelector<_AgWidgetSelectorType>;