UNPKG

@arco-design/web-vue

Version:

Arco Design Vue 2.0: A Vue.js 3 UI Library

11 lines (10 loc) 562 B
import type { Ref } from 'vue'; import type { EmitFn2 } from '../_utils/types'; export declare const useTrigger: ({ popupVisible, defaultPopupVisible, emit, }: { popupVisible?: Ref<boolean | undefined, boolean | undefined> | undefined; defaultPopupVisible?: Ref<boolean, boolean> | undefined; emit: ((event: "update:popupVisible", visible: boolean) => void) & ((event: "popupVisibleChange", visible: boolean) => void); }) => { computedPopupVisible: import("vue").ComputedRef<boolean>; handlePopupVisibleChange: (visible: boolean) => void; };