UNPKG

primeng

Version:

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Join the chat at https://gitter.im/primefaces/primeng](https://badges.gitter.im/primefaces/primeng.svg)](https://gitter.im/primefaces/primeng?ut

37 lines (36 loc) 1.19 kB
import { AfterViewInit, OnDestroy, ElementRef, NgZone } from '@angular/core'; import { DomHandler } from '../dom/domhandler'; export declare class ScrollPanel implements AfterViewInit, OnDestroy { el: ElementRef; zone: NgZone; domHandler: DomHandler; style: any; styleClass: string; constructor(el: ElementRef, zone: NgZone, domHandler: DomHandler); containerViewChild: ElementRef; contentViewChild: ElementRef; xBarViewChild: ElementRef; yBarViewChild: ElementRef; scrollYRatio: number; scrollXRatio: number; timeoutFrame: any; initialized: boolean; lastPageY: number; lastPageX: number; isXBarClicked: boolean; isYBarClicked: boolean; ngAfterViewInit(): void; calculateContainerHeight(): void; moveBar(): void; onYBarMouseDown(e: MouseEvent): void; onXBarMouseDown(e: MouseEvent): void; onDocumentMouseMove(e: MouseEvent): void; onMouseMoveForXBar(e: MouseEvent): void; onMouseMoveForYBar(e: MouseEvent): void; onDocumentMouseUp(e: Event): void; requestAnimationFrame(f: Function): void; ngOnDestroy(): void; refresh(): void; } export declare class ScrollPanelModule { }