UNPKG

bootstrap-vue-next

Version:

Seamless integration of Vue 3, Bootstrap 5, and TypeScript for modern, type-safe UI development

17 lines (16 loc) 1.05 kB
import { Slot } from 'vue'; export declare const getSafeDocument: () => Document | null; export declare const getSafeWindow: () => (Window & typeof globalThis) | null; export declare const getActiveElement: (excludes?: readonly HTMLElement[]) => Element | null; /** * @deprecated only used in BFormGroup, which is not an SFC... Function could probably be replaced with pure Vue */ export declare const attemptFocus: (el: Readonly<HTMLElement>, options?: Readonly<FocusOptions>) => boolean; export declare const isEmptySlot: (el: Slot | undefined) => boolean; /** * @deprecated only used in BFormGroup, which is not an SFC... Function could probably be replaced with pure Vue */ export declare const isVisible: (el: Readonly<Element>) => boolean; export declare const getTransitionDelay: (element: Readonly<HTMLElement>) => number; export declare const sortSlotElementsByPosition: (a: Readonly<HTMLElement> | null, b: Readonly<HTMLElement> | null) => number; export declare const getModalZIndex: (element?: Readonly<HTMLElement | null>) => number;