Files
element-plus/packages/components/date-picker/src/instance.ts
qiang 845c07adef feat(components): [date-picker] accessibility enhancement (#18109)
* feat(components): [date-picker] accessibility enhancement

closed #14150

* docs: update

* test: add test

* chore: change prevent to passive

* fix: long press the clear icon to open the time panel

* fix: cannot read $el

* fix: cannot read $el

* docs: updata
2024-10-27 12:14:53 +08:00

14 lines
334 B
TypeScript

import type { ComponentPublicInstance } from 'vue'
import type { DatePickerProps } from './props/date-picker'
export type DatePickerExpose = {
focus: () => void
blur: () => void
handleOpen: () => void
handleClose: () => void
}
export type DatePickerInstance = ComponentPublicInstance<
DatePickerProps,
DatePickerExpose
>