UNPKG

primeng

Version:

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![npm version](https://badge.fury.io/js/primeng.svg)](https://badge.fury.io/js/primeng) [![npm downloads](https://img.shields.io/npm/dm/primeng.sv

47 lines (46 loc) 1.94 kB
import { AfterViewInit, OnDestroy, ElementRef, NgZone, ChangeDetectorRef, AfterContentInit, QueryList, TemplateRef } from '@angular/core'; import * as i0 from "@angular/core"; import * as i1 from "@angular/common"; export declare class ScrollPanel implements AfterViewInit, AfterContentInit, OnDestroy { el: ElementRef; zone: NgZone; cd: ChangeDetectorRef; style: any; styleClass: string; constructor(el: ElementRef, zone: NgZone, cd: ChangeDetectorRef); containerViewChild: ElementRef; contentViewChild: ElementRef; xBarViewChild: ElementRef; yBarViewChild: ElementRef; templates: QueryList<any>; scrollYRatio: number; scrollXRatio: number; timeoutFrame: any; initialized: boolean; lastPageY: number; lastPageX: number; isXBarClicked: boolean; isYBarClicked: boolean; contentTemplate: TemplateRef<any>; ngAfterViewInit(): void; ngAfterContentInit(): 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; scrollTop(scrollTop: number): void; onDocumentMouseUp(e: Event): void; requestAnimationFrame(f: Function): void; ngOnDestroy(): void; refresh(): void; static ɵfac: i0.ɵɵFactoryDeclaration<ScrollPanel, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ScrollPanel, "p-scrollPanel", never, { "style": "style"; "styleClass": "styleClass"; }, {}, ["templates"], ["*"]>; } export declare class ScrollPanelModule { static ɵfac: i0.ɵɵFactoryDeclaration<ScrollPanelModule, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<ScrollPanelModule, [typeof ScrollPanel], [typeof i1.CommonModule], [typeof ScrollPanel]>; static ɵinj: i0.ɵɵInjectorDeclaration<ScrollPanelModule>; }