UNPKG

@coreui/vue-pro

Version:

UI Components Library for Vue.js

8 lines (7 loc) 632 B
import { Ref } from 'vue'; import type { Placement } from '@popperjs/core'; import type { Placements } from '../../types'; import type { Alignments } from './types'; export declare const getAlignmentClassNames: (alignment: Alignments) => string[]; export declare const getPlacement: (placement: Placement, direction: string | undefined, alignment: Alignments | string | undefined, isRTL: boolean) => Placements; export declare const getReferenceElement: (reference: "parent" | "toggle" | Ref<HTMLElement | null> | HTMLElement, dropdownToggleRef: Ref<HTMLElement | null>, dropdownRef: Ref<HTMLElement | null>) => HTMLElement | null;