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