@syncfusion/react-popups
Version:
Syncfusion React popup package is a feature-rich collection of UI components such as Dialog and Tooltip, used to display contextual information or messages in separate pop-ups.
14 lines (13 loc) • 1.06 kB
TypeScript
import { OffsetPosition } from './position';
export interface CollisionCoordinates {
X: boolean;
Y: boolean;
}
export declare const fit: (element: HTMLElement, viewPortElement: HTMLElement | null, axis: CollisionCoordinates, position?: OffsetPosition) => OffsetPosition;
export declare const isCollide: (element: HTMLElement, viewPortElement: HTMLElement | null, x?: number, y?: number) => string[];
export declare const flip: (element: HTMLElement, target: HTMLElement, offsetX: number, offsetY: number, positionX: string, positionY: string, viewPortElement: HTMLElement | null, axis: CollisionCoordinates) => OffsetPosition | null;
export declare const getElementReact: (element: HTMLElement) => DOMRect | null;
export declare const getZoomValue: (element: HTMLElement) => number;
export declare const getTransformElement: (element: HTMLElement) => HTMLElement | null;
export declare const getFixedScrollableParent: (element: HTMLElement, fixedParent?: boolean) => HTMLElement[];
export declare const getZindexPartial: (element: HTMLElement) => number;