@taiga-ui/cdk
Version:
Base library for creating Angular components and applications using Taiga UI principles regarding of actual visual appearance
14 lines (13 loc) • 537 B
TypeScript
import { type Observable } from 'rxjs';
import * as i0 from "@angular/core";
/**
* @deprecated: use native scroll
*/
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>;
}