1 | import { IPositionStats, IScrollState, IScrollerDistance } from '../../models';
|
2 | export declare function shouldFireScrollEvent(container: IPositionStats, distance: IScrollerDistance | undefined, scrollingDown: boolean): boolean;
|
3 | export declare function isScrollingDownwards(lastScrollPosition: number, container: IPositionStats): boolean;
|
4 | export declare function getScrollStats(lastScrollPosition: number, container: IPositionStats, distance: IScrollerDistance): {
|
5 | fire: boolean;
|
6 | scrollDown: boolean;
|
7 | };
|
8 | export declare function updateScrollPosition(position: number, scrollState: IScrollState): number;
|
9 | export declare function updateTotalToScroll(totalToScroll: number, scrollState: IScrollState): void;
|
10 | export declare function isSameTotalToScroll(scrollState: IScrollState): boolean;
|
11 | export declare function updateTriggeredFlag(scroll: number, scrollState: IScrollState, triggered: boolean, isScrollingDown: boolean): void;
|
12 | export declare function isTriggeredScroll(totalToScroll: number, scrollState: IScrollState, isScrollingDown: boolean): boolean;
|
13 | export declare function updateScrollState(scrollState: IScrollState, scrolledUntilNow: number, totalToScroll: number): void;
|