UNPKG

bootstrap-vue-3

Version:

Early (but lovely) implementation of Vue 3, Bootstrap 5 and Typescript

24 lines (23 loc) 1.37 kB
import { AnimationFrame } from '../types/safeTypes'; import { Slot } from 'vue'; export declare const isElement: (el: HTMLElement) => boolean; export declare const getBCR: (el: HTMLElement) => DOMRect | null; export declare const getActiveElement: (excludes?: never[]) => Element | null; export declare const isActiveElement: (el: HTMLElement) => boolean; export declare const attemptFocus: (el: HTMLElement, options?: {}) => boolean; export declare const attemptBlur: (el: HTMLElement) => boolean; export declare const getStyle: (el: HTMLElement, prop: string) => string | null; export declare const contains: (parent: Node, child: Node) => boolean; export declare const isVisible: (el: HTMLElement) => boolean; export declare const isEmptySlot: (slot: Slot | undefined, data?: any) => boolean; export declare const offset: (el: HTMLElement) => { top: number; left: number; }; export declare const select: (selector: any, root: any) => any; export declare const selectAll: (selector: any, root: any) => any[]; export declare const getAttr: (el: HTMLElement, attr: string) => string | null; export declare const setAttr: (el: HTMLElement, attr: string, value: string) => void; export declare const removeAttr: (el: HTMLElement, attr: string) => void; export declare const isTag: (tag: any, name: any) => boolean; export declare const requestAF: AnimationFrame;