UNPKG

ngx-auto-scroll

Version:

Angular 2+ directive to automatically scroll html container content to the bottom.

17 lines (16 loc) 528 B
import { AfterContentInit, ElementRef, OnDestroy } from "@angular/core"; export declare class NgxAutoScroll implements AfterContentInit, OnDestroy { lockYOffset: number; observeAttributes: string; private nativeElement; private _isLocked; private mutationObserver; constructor(element: ElementRef); getObserveAttributes(): boolean; ngAfterContentInit(): void; ngOnDestroy(): void; forceScrollDown(): void; isLocked(): boolean; private scrollDown(); private scrollHandler(); }