time-select.d.ts 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. import { ElementUIComponent, ElementUIComponentSize, ElementUIHorizontalAlignment } from './component'
  2. export interface TimeSelectOptions {
  3. /** Start time */
  4. start?: string,
  5. /** End time */
  6. end?: string,
  7. /** Time step */
  8. step?: string,
  9. /** Minimum time, any time before this time will be disabled */
  10. minTime?: string,
  11. /** Maximum time, any time after this time will be disabled */
  12. maxTime?: string
  13. }
  14. /** TimeSelect Component */
  15. export declare class ElTimeSelect extends ElementUIComponent {
  16. /** Whether DatePicker is read only */
  17. readonly: boolean
  18. /** Whether DatePicker is disabled */
  19. disabled: boolean
  20. /** Whether the input is editable */
  21. editable: boolean
  22. /** Whether to show clear button */
  23. clearable: boolean
  24. /** Size of Input */
  25. size: ElementUIComponentSize
  26. /** Placeholder */
  27. placeholder: string
  28. /** Value of the picker */
  29. value: string | Date
  30. /** Alignment */
  31. align: ElementUIHorizontalAlignment
  32. /** Custom class name for TimePicker's dropdown */
  33. popperClass: string
  34. /** Additional options, check the table below */
  35. pickerOptions: TimeSelectOptions
  36. }