mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
21 lines
480 B
TypeScript
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>>
|
|
}
|