ngx-scrollbar
Version:
<p align="center"> <img height="165px" width="165px" style="text-align: center;" src="https://cdn.statically.io/gh/MurhafSousli/ngx-scrollbar/master/projects/ngx-scrollbar-demo/public/logo.svg"> <h1 align="center">Angular Custom Scrollbar</h1> </p>
11 lines (10 loc) • 617 B
TypeScript
import { SmoothScrollElement, SmoothScrollToElementOptions, SmoothScrollToOptions } from './smooth-scroll.model';
import * as i0 from "@angular/core";
export declare class SmoothScroll {
private readonly smoothScroll;
private readonly element;
scrollTo(options: SmoothScrollToOptions): Promise<void>;
scrollToElement(target: SmoothScrollElement, options: SmoothScrollToElementOptions): Promise<void>;
static ɵfac: i0.ɵɵFactoryDeclaration<SmoothScroll, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<SmoothScroll, "[smoothScroll]", ["smoothScroll"], {}, {}, never, never, true, never>;
}