@beradrian/ngx-auto-scroll
Version:
Angular 2+ directive to automatically scroll html container content to the bottom.
16 lines (15 loc) • 517 B
TypeScript
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;
private scrollDown();
private scrollHandler();
}