@bitrix24/b24ui-nuxt
Version:
Bitrix24 UI-Kit for developing web applications REST API for NUXT & VUE
7 lines (6 loc) • 316 B
TypeScript
import { type Ref, type InjectionKey } from 'vue';
export declare const portalTargetInjectionKey: InjectionKey<Ref<string | HTMLElement>>;
export declare function usePortal(portal: Ref<string | HTMLElement | boolean | undefined>): import("vue").ComputedRef<{
to: string | HTMLElement;
disabled: boolean;
}>;