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