element-plus
Version:
> TODO: description
21 lines (18 loc) • 508 B
text/typescript
import type {
ComponentInternalInstance,
ComputedRef,
Ref,
} from 'vue'
import type { Nullable } from '@element-plus/utils/types'
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>>
}