Squashed commit of the following: commit 32bec8dfedbc7cbd0e2f290e1fd9ceaaa7a94366 Author: shamoon <4887959+shamoon@users.noreply.github.com> Date: Thu Nov 30 12:38:19 2023 -0800 Correctly include pdf worker js commit 48aedbb2b9983a45ee319bc8fa1518d430c4a81b Author: shamoon <4887959+shamoon@users.noreply.github.com> Date: Thu Nov 30 08:30:53 2023 -0800 Update angular.json commit 23db5031632290e42e15a4eb46e2f0c72a6dadd9 Author: shamoon <4887959+shamoon@users.noreply.github.com> Date: Thu Nov 30 00:43:08 2023 -0800 Update pdf-viewer.component.ts commit b01a18526e7df893d7ab09e491470f4bd2c3abeb Author: shamoon <4887959+shamoon@users.noreply.github.com> Date: Wed Nov 29 22:50:33 2023 -0800 pngx-pdf-viewer based on ng2-pdf-viewer with pdfjs 3.11 Implement zoom
18 lines
605 B
TypeScript
18 lines
605 B
TypeScript
export type PDFPageProxy =
|
|
import('pdfjs-dist/types/src/display/api').PDFPageProxy
|
|
export type PDFSource =
|
|
import('pdfjs-dist/types/src/display/api').DocumentInitParameters
|
|
export type PDFDocumentProxy =
|
|
import('pdfjs-dist/types/src/display/api').PDFDocumentProxy
|
|
export type PDFDocumentLoadingTask =
|
|
import('pdfjs-dist/types/src/display/api').PDFDocumentLoadingTask
|
|
export type PDFViewerOptions =
|
|
import('pdfjs-dist/types/web/pdf_viewer').PDFViewerOptions
|
|
|
|
export interface PDFProgressData {
|
|
loaded: number
|
|
total: number
|
|
}
|
|
|
|
export type ZoomScale = 'page-height' | 'page-fit' | 'page-width'
|