mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
* style: use prettier * style: just prettier format, no code changes * style: eslint fix object-shorthand, prefer-const * style: fix no-void * style: no-console
17 lines
501 B
TypeScript
17 lines
501 B
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>>
|
|
}
|