1 | import { ElementRef } from '@angular/core';
|
2 | import { ContainerRef, IPositionElements, IPositionStats, IResolver } from '../../models';
|
3 | import { AxisResolver } from './axis-resolver';
|
4 | export declare function createResolver({ windowElement, axis, }: IPositionElements): IResolver;
|
5 | export declare function createResolverWithContainer(resolver: any, windowElement: ContainerRef): any;
|
6 | export declare function isElementWindow(windowElement: ContainerRef): boolean;
|
7 | export declare function getDocumentElement(isContainerWindow: boolean, windowElement: any): any;
|
8 | export declare function calculatePoints(element: ElementRef, resolver: IResolver): IPositionStats;
|
9 | export declare function calculatePointsForWindow(height: number, element: ElementRef, resolver: IResolver): IPositionStats;
|
10 | export declare function calculatePointsForElement(height: number, element: ElementRef, resolver: IResolver): IPositionStats;
|
11 | export declare function extractHeightPropKeys(axis: AxisResolver): {
|
12 | offsetHeightKey: any;
|
13 | clientHeightKey: any;
|
14 | };
|
15 | export declare function extractHeightForElement({ container, isWindow, axis, }: IResolver): any;
|
16 | export declare function getElementHeight(elem: any, isWindow: boolean, offsetHeightKey: string, clientHeightKey: string): any;
|
17 | export declare function getElementOffsetTop(elem: ContainerRef, axis: AxisResolver, isWindow: boolean): any;
|
18 | export declare function getElementPageYOffset(elem: ContainerRef, axis: AxisResolver, isWindow: boolean): any;
|