How to add pdfloaded and pdfpages loaded events so my mat-progress-bar can 'show progress' of a pdf load #2091
Replies: 1 comment
-
Sorry for answering late - I've been ill. You'll need to use a shorter import statement: import {PagesLoadedEvent } from 'ngx-extended-pdf-viewer';
import {PdfLoadedEvent } from 'ngx-extended-pdf-viewer'; I'm sorry for the confusion. Autocompletion frequently suggest the wrong imports in my showcase, and it even works because the source code of the library is part of my showcase project. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm not a well-versed angular user, though I used to be average many iterations ago
I'm getting this error: TS2307: Cannot find module 'ngx-extended-pdf-viewer/lib/events' or its corresponding type declarations.
src/app/app.component.ts:2:32 - I've tried adding an event src to the angular.json, but VSC is telling me "property 'what-ever-I-use' is not allowed".
I want to feed the data to my mat-progress-bar as well as a loading percent message - I see all this working in the showcase, but the two code samples there aren't helping me figure out how those events get instantiated into the component.
here's my app.component -
here's my html
Beta Was this translation helpful? Give feedback.
All reactions