@addapptables/perfect-scrollbar
Version:
Perfect scrollbar library for angular
18 lines (17 loc) • 627 B
TypeScript
import { ElementRef, OnDestroy, AfterViewInit } from '@angular/core';
import PerfectScrollbar from 'perfect-scrollbar';
import { Router } from '@angular/router';
import { Subscription } from 'rxjs';
export declare class PerfectScrollbarDirective implements AfterViewInit, OnDestroy {
private _elementRef;
readonly _router: Router;
ps: PerfectScrollbar;
options: any;
allSub: Subscription[];
constructor(_elementRef: ElementRef, _router: Router);
perfectScrollOptions: any;
onResize(): void;
ngAfterViewInit(): void;
initPerfectScroll(): void;
ngOnDestroy(): void;
}