13 lines
645 B
TypeScript
13 lines
645 B
TypeScript
import { Middleware, Placement } from '@floating-ui/vue';
|
|
declare const SIDE_OPTIONS: readonly ["top", "right", "bottom", "left"];
|
|
declare const ALIGN_OPTIONS: readonly ["start", "center", "end"];
|
|
export type Side = (typeof SIDE_OPTIONS)[number];
|
|
export type Align = (typeof ALIGN_OPTIONS)[number];
|
|
export declare function isNotNull<T>(value: T | null): value is T;
|
|
export declare function transformOrigin(options: {
|
|
arrowWidth: number;
|
|
arrowHeight: number;
|
|
}): Middleware;
|
|
export declare function getSideAndAlignFromPlacement(placement: Placement): readonly ["right" | "left" | "top" | "bottom", "center" | "end" | "start"];
|
|
export {};
|