vue-final-modal
Version:
The most powerful yet most light-weight modal library for Vue 3.
9 lines (8 loc) • 334 B
TypeScript
import type { Ref } from 'vue';
import type VueFinalModal from './VueFinalModal.vue';
export declare function useModelValue(props: InstanceType<typeof VueFinalModal>['$props'], emit: InstanceType<typeof VueFinalModal>['$emit'], options: {
open: () => boolean;
close: () => boolean;
}): {
modelValueLocal: Ref<boolean>;
};