ng2-pdf-viewer
ng2-pdf-viewer copied to clipboard
onError($event) Not Triggering
Hi,
I am using ng2-pdfviewer 7.0.1 version. In that when error occurs in PDF. I am calling the onError event. It was working fine till yesterday. Now the onError($event) was not calling in the component.
(error)="onError($event)" I am called in html
When this error occurs "PDFViewer.currentPageNumber: "9" is not a valid page" . I am triggering and reinitiate the PDF processing it was not calling.
Kindly help me to get this resolve asap.