ngx-extended-pdf-viewer
Version:
Embedding PDF files in your Angular application. Highly configurable viewer including the toolbar, sidebar, and all the features you're used to.
19 lines (18 loc) • 490 B
TypeScript
import { NgZone } from '@angular/core';
export declare class PinchOnMobileSupport {
private _zone;
private viewer;
private container;
private startX;
private startY;
private initialPinchDistance;
private pinchScale;
constructor(_zone: NgZone);
private isMobile;
private onViewerTouchStart;
private onViewerTouchMove;
private onViewerTouchEnd;
private resetPinchZoomParams;
initializePinchZoom(): void;
destroyPinchZoom(): void;
}