@taiga-ui/cdk
Version:
Base library for creating Angular components and applications using Taiga UI principles regarding of actual visual appearance
11 lines (10 loc) • 495 B
TypeScript
import { type Observable } from 'rxjs';
import * as i0 from "@angular/core";
export declare class TuiScrollService {
private readonly performanceRef;
private readonly animationFrame$;
private readonly zone;
scroll$(elementOrWindow: Element | Window, scrollTop: number, scrollLeft?: number, duration?: number): Observable<[number, number]>;
static ɵfac: i0.ɵɵFactoryDeclaration<TuiScrollService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<TuiScrollService>;
}