UNPKG

635 BTypeScriptView Raw
1import { Observable } from 'rxjs';
2import * as Models from '../models';
3export declare function createScroller(config: Models.IScroller): Observable<Models.IInfiniteScrollAction>;
4export declare function attachScrollEvent(options: Models.IScrollRegisterConfig): Observable<{}>;
5export declare function toInfiniteScrollParams(lastScrollPosition: number, stats: Models.IPositionStats, distance: Models.IScrollerDistance): Models.IScrollParams;
6export declare const InfiniteScrollActions: {
7 DOWN: string;
8 UP: string;
9};
10export declare function toInfiniteScrollAction(response: Models.IScrollParams): Models.IInfiniteScrollAction;