UNPKG

1.57 kBTypeScriptView Raw
1import { NgZone, OnInit, OnDestroy, DoCheck, EventEmitter, ChangeDetectorRef } from '@angular/core';
2import { PerfectScrollbarDirective } from './perfect-scrollbar.directive';
3import { PerfectScrollbarConfigInterface } from './perfect-scrollbar.interfaces';
4export declare class PerfectScrollbarComponent implements OnInit, OnDestroy, DoCheck {
5 private zone;
6 private cdRef;
7 private platformId;
8 states: any;
9 indicatorX: boolean;
10 indicatorY: boolean;
11 interaction: boolean;
12 private scrollPositionX;
13 private scrollPositionY;
14 private scrollDirectionX;
15 private scrollDirectionY;
16 private usePropagationX;
17 private usePropagationY;
18 private allowPropagationX;
19 private allowPropagationY;
20 private stateTimeout;
21 private readonly ngDestroy;
22 private readonly stateUpdate;
23 disabled: boolean;
24 usePSClass: boolean;
25 autoPropagation: boolean;
26 scrollIndicators: boolean;
27 config?: PerfectScrollbarConfigInterface;
28 psScrollY: EventEmitter<any>;
29 psScrollX: EventEmitter<any>;
30 psScrollUp: EventEmitter<any>;
31 psScrollDown: EventEmitter<any>;
32 psScrollLeft: EventEmitter<any>;
33 psScrollRight: EventEmitter<any>;
34 psYReachEnd: EventEmitter<any>;
35 psYReachStart: EventEmitter<any>;
36 psXReachEnd: EventEmitter<any>;
37 psXReachStart: EventEmitter<any>;
38 directiveRef?: PerfectScrollbarDirective;
39 constructor(zone: NgZone, cdRef: ChangeDetectorRef, platformId: Object);
40 ngOnInit(): void;
41 ngOnDestroy(): void;
42 ngDoCheck(): void;
43 private checkPropagation;
44}