bootstrap-vue-next
Version:
BootstrapVueNext is an early and lovely component library for Vue 3 & Nuxt 3 based on Bootstrap 5 and Typescript.
14 lines (13 loc) • 822 B
TypeScript
import { Slot } from 'vue';
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;