timepicker.config.d.ts 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /** Provides default configuration values for timepicker */
  2. export declare class TimepickerConfig {
  3. /** hours change step */
  4. hourStep: number;
  5. /** hours change step */
  6. minuteStep: number;
  7. /** seconds changes step */
  8. secondsStep: number;
  9. /** if true works in 12H mode and displays AM/PM. If false works in 24H mode and hides AM/PM */
  10. showMeridian: boolean;
  11. /** meridian labels based on locale */
  12. meridians: string[];
  13. /** if true hours and minutes fields will be readonly */
  14. readonlyInput: boolean;
  15. /** if true hours and minutes fields will be disabled */
  16. disabled: boolean;
  17. /** if true scroll inside hours and minutes inputs will change time */
  18. mousewheel: boolean;
  19. /** if true the values of hours and minutes can be changed using the up/down arrow keys on the keyboard */
  20. arrowkeys: boolean;
  21. /** if true spinner arrows above and below the inputs will be shown */
  22. showSpinners: boolean;
  23. /** show seconds in timepicker */
  24. showSeconds: boolean;
  25. /** show minutes in timepicker */
  26. showMinutes: boolean;
  27. /** minimum time user can select */
  28. min: Date;
  29. /** maximum time user can select */
  30. max: Date;
  31. /** placeholder for hours field in timepicker */
  32. hoursPlaceholder: string;
  33. /** placeholder for minutes field in timepicker */
  34. minutesPlaceholder: string;
  35. /** placeholder for seconds field in timepicker */
  36. secondsPlaceholder: string;
  37. }