1 | export declare class Positioning {
|
2 | private getAllStyles;
|
3 | private getStyle;
|
4 | private isStaticPositioned;
|
5 | private offsetParent;
|
6 | position(element: HTMLElement, round?: boolean): ClientRect;
|
7 | offset(element: HTMLElement, round?: boolean): ClientRect;
|
8 | positionElements(hostElement: HTMLElement, targetElement: HTMLElement, placement: string, appendToBody?: boolean): boolean;
|
9 | }
|
10 | export declare function positionElements(hostElement: HTMLElement, targetElement: HTMLElement, placement: string | Placement | PlacementArray, appendToBody?: boolean, baseClass?: string): Placement;
|
11 | export declare type Placement = 'auto' | 'top' | 'bottom' | 'left' | 'right' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'left-top' | 'left-bottom' | 'right-top' | 'right-bottom';
|
12 | export declare type PlacementArray = Placement | Array<Placement> | string;
|