bootstrap-vue-next
Version:
BootstrapVueNext is an early and lovely component library for Vue 3 & Nuxt 3 based on Bootstrap 5 and Typescript.
10 lines (9 loc) • 689 B
TypeScript
export declare const useModalController: () => {
hide: (trigger?: string) => void;
hideAll: (trigger?: string) => void;
modals?: import('vue').Ref<Map<import('../..').ControllerKey, import('../..').ModalOrchestratorMapValue>, Map<import('../..').ControllerKey, import('../..').ModalOrchestratorMapValue>> | undefined;
show?: ((obj: import('../..').ModalOrchestratorShowParam) => Promise<boolean | null>) | undefined;
confirm?: ((obj: import('../..').ModalOrchestratorShowParam) => Promise<boolean | null>) | undefined;
remove?: ((self: import('../..').ControllerKey) => void) | undefined;
leave?: ((self: import('../..').ControllerKey) => void) | undefined;
};