1 | import { ElementRef } from '@angular/core';
|
2 | import { AxisResolver, AxisResolverFactory } from './axis-resolver';
|
3 | import { ContainerRef, PositionElements, PositionStats } from './models';
|
4 | export declare class PositionResolverFactory {
|
5 | private axisResolver;
|
6 | constructor(axisResolver: AxisResolverFactory);
|
7 | create(options: PositionElements): PositionResolver;
|
8 | }
|
9 | export declare class PositionResolver {
|
10 | private axis;
|
11 | private options;
|
12 | private documentElement;
|
13 | private isContainerWindow;
|
14 | container: ContainerRef;
|
15 | constructor(axis: AxisResolver, options: PositionElements);
|
16 | defineContainer(windowElement: ContainerRef): any;
|
17 | resolveContainer(windowElement: ContainerRef): boolean;
|
18 | getDocumentElement(): any;
|
19 | calculatePoints(element: ElementRef): {
|
20 | height: any;
|
21 | scrolledUntilNow: any;
|
22 | totalToScroll: any;
|
23 | };
|
24 | calculatePointsForWindow(element: ElementRef): PositionStats;
|
25 | calculatePointsForElement(element: ElementRef): {
|
26 | height: any;
|
27 | scrolledUntilNow: any;
|
28 | totalToScroll: any;
|
29 | };
|
30 | private height(elem);
|
31 | private offsetTop(elem);
|
32 | pageYOffset(elem: any): any;
|
33 | }
|