element-plus
Version:
A Component Library for Vue 3
15 lines (14 loc) • 540 B
TypeScript
import type { ComponentInternalInstance, ComputedRef, Ref } from 'vue';
import type { Nullable } from 'element-plus/es/utils/types';
export interface IElDropdownInstance {
instance?: ComponentInternalInstance;
dropdownSize?: ComputedRef<string>;
visible?: Ref<boolean>;
handleClick?: () => void;
commandHandler?: (...arg: any[]) => void;
show?: () => void;
hide?: () => void;
trigger?: ComputedRef<string>;
hideOnClick?: ComputedRef<boolean>;
triggerElm?: ComputedRef<Nullable<HTMLButtonElement>>;
}