123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- import { ElementUIComponent, ElementUIComponentSize, ElementUIHorizontalAlignment } from './component'
- export interface TimePickerOptions {
- /**
- * Available time range.
- * e.g. `'18:30:00 - 20:30:00'`
- * or `['09:30:00 - 12:00:00', '14:30:00 - 18:30:00']`
- */
- selectableRange?: string | string[],
- /** Format of the picker */
- format?: string
- }
- /** TimePicker Component */
- export declare class ElTimePicker extends ElementUIComponent {
- /** Whether DatePicker is read only */
- readonly: boolean
- /** Whether DatePicker is disabled */
- disabled: boolean
- /** Whether the input is editable */
- editable: boolean
- /** Whether to show clear button */
- clearable: boolean
- /** Size of Input */
- size: ElementUIComponentSize
- /** Placeholder */
- placeholder: string
- /** Placeholder for the start time in range mode */
- startPlaceholder: string
- /** Placeholder for the end time in range mode */
- endPlaceholder: string
- /** Whether to pick a time range */
- isRange: boolean
- /** Value of the picker */
- value: string | Date
- /** Alignment */
- align: ElementUIHorizontalAlignment
- /** Custom class name for TimePicker's dropdown */
- popperClass: string
- /** Additional options, check the table below */
- pickerOptions: TimePickerOptions
- /** Range separator */
- rangeSeparator: string
- /**
- * Focus the Input component
- */
- focus (): void
- }
|