mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
hide the documentlist during the show of a file
This commit is contained in:
@@ -39,7 +39,6 @@ export class PdfViewerComponent {
|
||||
@Input()
|
||||
showToolbar: boolean = true;
|
||||
|
||||
|
||||
currentPdfDocument: any;
|
||||
page: number;
|
||||
displayPage: number;
|
||||
@@ -105,7 +104,7 @@ export class PdfViewerComponent {
|
||||
|
||||
initPDFViewer(pdfDocument: any) {
|
||||
PDFJS.verbosity = 1;
|
||||
PDFJS.disableWorker = true;
|
||||
PDFJS.disableWorker = false;
|
||||
|
||||
let documentContainer = document.getElementById('viewer-pdf-container');
|
||||
let viewer: any = document.getElementById('viewer-viewerPdf');
|
||||
|
Reference in New Issue
Block a user