Category : pdf-viewer

I am in an angular application trying to catch some events from ngx-extended-pdf-viewer. This is my html line: <ngx-extended-pdf-viewer (pageRendered)="pageRendered($event)" (pdfLoaded)="pageLoaded($event)" (pagesLoaded) = "pageCount($event)" [showBookmarkButton]="false" [showOpenFileButton]="false"></ngx-extended-pdf-viewer> And my handlers. public pageRendered(page: PageRenderedEvent) : void { console.log("pageRendered"); } public pageLoaded(page: PagesLoadedEvent) : void { console.log("pageLoaded"); } public pageCount(pagecount: PagesLoadedEvent) : void { console.log("pages count called"); } ..

Read more

I installed npm i ngx-extended-pdf-viewer. Then added these chages in package-cli.json "assets": ["assets","favicon.ico",{"glob": "**/*","input": "node_modules/ngx-extended-pdf-viewer/bleeding-edge/","output": "assets/" }] Then I tried to add scripts in angular-cli.json, But im getting error saying: ENOENT: no such file or directory, open ‘/—/—/—–/—-/src/node_modules/ngx-extended-pdf-viewer/assets/pdf.js’ "scripts": [ "node_modules/ngx-extended-pdf-viewer/assets/pdf.js", "node_modules/ngx-extended-pdf-viewer/assets/pdf.worker.js", "node_modules/ngx-extended-pdf-viewer/assets/viewer.js" ] Im not able to run project. It will stop compiling when ..

Read more

ngx-extended-pdf-viewer allows to omit the subfolders inline-locale-files and additional-locale after copying the entire library assets "src/assets", { "glob": "**/*", "input": "node_modules/ngx-extended-pdf-viewer/assets/", "output": "/assets/" } I tried to add ignore in the angular.json, but ignore is not allowed. { "glob": "**/*", "input": "node_modules/ngx-extended-pdf-viewer/assets/", "ignore": [ "node_modules/ngx-extended-pdf-viewer/assets/additional-locale", "node_modules/ngx-extended-pdf-viewer/assets/inline-locale-files" ], "output": "/assets/" } How can I omit these ..

Read more

sorry if my english is not good. I have a project that uses angular to read pdf files and display them as flipbooks. I am using ngx-extended-pdf-viewer with turnjs library. However, they can hardly work together. Please help me improve that. I read the pdf file in angular as below: component.html <ngx-extended-pdf-viewer height="80vh" width="100%" zoom="100%" ..

Read more

Currently I’m using Google viewer to view Document in angular app which gives Google access to the files. Is there any way to view Office File in .Net Core/ angular stack without sending my file out of my application (I don’t want to send or let access my file out of my application) Mentioned: Say ..

Read more