ngx-infinite-scroll
Version:
[](https://travis-ci.org/orizens/ngx-infinite-scroll) [](#backers) [![Sponso
11 lines (10 loc) • 638 B
TypeScript
import { Observable } from 'rxjs';
import * as Models from '../../models';
export declare function createScroller(config: Models.IScroller): Observable<Models.IInfiniteScrollAction>;
export declare function attachScrollEvent(options: Models.IScrollRegisterConfig): Observable<{}>;
export declare function toInfiniteScrollParams(lastScrollPosition: number, stats: Models.IPositionStats, distance: Models.IScrollerDistance): Models.IScrollParams;
export declare const InfiniteScrollActions: {
DOWN: string;
UP: string;
};
export declare function toInfiniteScrollAction(response: Models.IScrollParams): Models.IInfiniteScrollAction;