@vuesax-alpha/nightly
Version:
A Component Library for Vue 3
14 lines (13 loc) • 556 B
TypeScript
import type { Rect, Strategy } from 'vuesax-alpha/es/hooks/use-floating/utils';
import type { Platform, ReferenceElement } from '../types';
import type { Boundary, RootBoundary } from 'vuesax-alpha/es/hooks/use-floating/core';
declare type PlatformWithCache = Platform & {
_c: Map<ReferenceElement, Element[]>;
};
export declare function getClippingRect(this: PlatformWithCache, { element, boundary, rootBoundary, strategy, }: {
element: Element;
boundary: Boundary;
rootBoundary: RootBoundary;
strategy: Strategy;
}): Rect;
export {};