vue-final-modal
Version:
The most powerful yet most light-weight modal library for Vue 3.
13 lines (12 loc) • 503 B
TypeScript
import type { Ref } from 'vue';
import type VueFinalModal from './VueFinalModal.vue';
export declare function useToClose(props: InstanceType<typeof VueFinalModal>['$props'], emit: InstanceType<typeof VueFinalModal>['$emit'], options: {
vfmRootEl: Ref<HTMLDivElement | undefined>;
vfmContentEl: Ref<HTMLDivElement | undefined>;
visible: Ref<boolean>;
modelValueLocal: Ref<boolean>;
}): {
onEsc: () => void;
onMouseupRoot: () => void;
onMousedown: (e?: MouseEvent) => void;
};