Files
element-plus/packages/dropdown/src/dropdown.ts
jeremywu 7c97bc5283 fix(project): node is not exporting issue (#2827)
- Fix issue that caused ts definition file not generating
2021-08-04 18:28:08 +08:00

21 lines
480 B
TypeScript

import {
ComponentInternalInstance,
ComputedRef,
Ref,
} from 'vue'
export type Nullable<T> = null | T
export interface IElDropdownInstance {
instance?: ComponentInternalInstance
dropdownSize?: ComputedRef<string>
visible?: Ref<boolean>
handleClick?: () => void
commandHandler?: (...arg) => void
show?: () => void
hide?: () => void
trigger?: ComputedRef<string>
hideOnClick?: ComputedRef<boolean>
triggerElm?: ComputedRef<Nullable<HTMLButtonElement>>
}