Merge pull request #21582 from jlberrocal/patch-1

Add missing property and constructor
This commit is contained in:
Benjamin Lichtman
2017-11-22 22:14:46 -05:00
committed by GitHub
+12
View File
@@ -407,6 +407,12 @@ declare namespace PDF {
* in browsers which support the fullscreen API.
*/
disableFullscreen: boolean;
/**
* Disable the text layer of PDF when used PDF.js renders a canvas instead of div elements
*
*/
disableTextLayer: boolean;
/**
* Enables CSS only zooming.
@@ -475,5 +481,11 @@ declare namespace PDF {
: PDFPromise<PDFDocumentProxy>;
PDFViewer(params: PDFViewerParams): void;
/**
* yet another viewer, this will render only one page at the time, reducing rendering time
* very important for mobile development
* @params {PDFViewerParams}
*/
PDFSinglePageViewer(params: PDFViewerParams): void;
}
}