UNPKG

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.

12 lines (11 loc) 640 B
export interface ScaleChangingEvent { source: any; /** Numerical scale factor. If the page is displayed in original size, this scale equals 1.0. */ scale: number; /** Prefefined value, or undefined, if the new scale is a percentage. */ presetValue: 'auto' | 'page-actual' | 'page-fit' | 'page-width' | undefined; /** Previous numerical scale factor. If the page was displayed in original size, this scale equals 1.0. */ previousScale: number; /** Previous prefefined value, or undefined, if a percentage was used. */ previousPresetValue: 'auto' | 'page-actual' | 'page-fit' | 'page-width' | undefined; }