You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can use different approach, by just settings isLoading = true; before and then change to isLoading = false once after-load-complete event is called.
Thats good approach but in my case the problem is that for example with IE loading some bigger pdf files can take up to 3 minutes and it would be nice to show progress for the user so he/she can determine how long the coffee break will be.
Would it be hard to add an event emitter for progress of loading pdf document?
I did quick research and looks like it could be done.
from pdfjs src/display/api.js we can find:
add an event emitter to pdf-viewer.component.ts:
change the line in pdf-viewer.component.ts to handle progress event:
---->
Note: Just pseudo code. Havent tested if it works.
The text was updated successfully, but these errors were encountered: