agInputRange.d.ts 748 B

1234567891011121314151617181920212223
  1. import { IInputField, AgAbstractInputField } from "./agAbstractInputField";
  2. interface IInputRange extends IInputField {
  3. min?: number;
  4. max?: number;
  5. step?: number;
  6. }
  7. export declare class AgInputRange extends AgAbstractInputField<HTMLInputElement, string> {
  8. protected className: string;
  9. protected displayTag: string;
  10. protected inputType: string;
  11. protected config: IInputRange;
  12. private min;
  13. private max;
  14. private step;
  15. constructor(config?: IInputRange);
  16. protected postConstruct(): void;
  17. protected addInputListeners(): void;
  18. setMinValue(value: number): this;
  19. setMaxValue(value: number): this;
  20. setStep(value: number): this;
  21. setValue(value: string, silent?: boolean): this;
  22. }
  23. export {};