ng2-pdfjs-viewer
ng2-pdfjs-viewer copied to clipboard
Angular PDF viewer powered by Mozilla's PDF.js
ng2-pdfjs-viewer.component.ts has a window.addEventListener("message", this.receiveMessage.bind(this), false); in the ngOnInit but it is never removed?
The attached file does not display pound symbol: £, looks like an alpha symbol with an accent. [PoundSymbol.pdf](https://github.com/user-attachments/files/19372768/PoundSymbol.pdf) 
ng2-pdfjs-viewer doesn't work in Ion-Modal ng-template appears as a grey empty frame. I've tested outside of a modal and the pdf loads as expected. ``` Close ```
i want to open pdf viewer in external Window, but every time it's overwrite the same pdf viewer browser tab ... how i can open every document in new tab?...
Hello, https://github.com/advisories/GHSA-wgrm-67xf-hhpq I am curious about if this vulnerability might impact this project as well, since the pdf.js version used is currently locked at 2.2.171. Be well, Timmy
Hi, We recently updated to "ng2-pdfjs-viewer" version "18.0.0". After this update, we started encountering an error. We open the PDF viewer in a dialog window, and for the first time,...
For more security, support the `SafeResourceUrl` and `SafeUrl` interfaces as types for the `pdfSrc` property. This will help preventing XSS bugs as described here: https://v17.angular.io/api/platform-browser/DomSanitizer