intbot / ng2-pdfjs-viewer

An angular component for PDFJS and ViewerJS (Supports all versions of angular)
Apache License 2.0
228 stars 113 forks source link

(pagesLoaded) *Broken since version 19!* - is there a work around? #246

Open randyparis opened 8 months ago

randyparis commented 8 months ago

I've been trying to find a way to indicate progress of a pdf load since some of the pdfs I want to show are large files and can take a little while before they display , so I need some way to get the total page/size and the pages/ or amount loaded in order to create a percent to feed as a value to a query mat-progress-bar. I thought pagesLoaded was the way to go, but... seems it's broken? (Using CLI 17)

codehippie1 commented 4 months ago

@randyparis Doing an upgrade of the underlying pdfjs version. This shall be fixed soon. I will update you on this.