UNPKG

ngx-infinite-scroll

Version:

[![Build Status](https://travis-ci.org/orizens/ngx-infinite-scroll.svg?branch=master)](https://travis-ci.org/orizens/ngx-infinite-scroll) [![Backers on Open Collective](https://opencollective.com/ngx-infinite-scroll/backers/badge.svg)](#backers) [![Sponso

11 lines (10 loc) 638 B
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;