UNPKG

theme-lib

Version:

This is a simple example Angular Library published to npm.

17 lines (16 loc) 508 B
import { Observable, Subject } from 'rxjs'; export interface NbScrollPosition { x: number; y: number; } export declare class NbLayoutScrollService { private scrollPositionReq$; private manualScroll$; private scroll$; getPosition(): Observable<NbScrollPosition>; scrollTo(x?: number, y?: number): void; onScroll(): Observable<any>; onManualScroll(): Observable<NbScrollPosition>; onGetPosition(): Subject<any>; fireScrollChange(event: any): void; }