Releases: VadimDez/ng2-pdf-viewer
Releases · VadimDez/ng2-pdf-viewer
7.0.1
7.0.0
Improvements
- [#721] - fix: release some memory leaks
- [#723] - fix: remove event listeners from the event bus when the view is destroyed
- [#719] - feat: upgrade to Angular 11
- [#777] - Update pdfjs-dist to 2.7.570
Breaking change
Now you need to specify how much space pdf-viewer
element should take by using CSS, so either set width
and height
, use flexbox
or use something like positioning
.
Example using height and width:
<pdf-viewer [src]="src" [original-size]="false" style="width: 400px; height: 500px"></pdf-viewer>
Example using absolute positioning to take entire page:
<pdf-viewer [src]="src" [original-size]="false" style="position: absolute; top: 0; right: 0; bottom: 0; left: 0"></pdf-viewer>
6.4.1
6.4.0
Improvements
- [#701] - [external-link-target] seems to be broken
- [#702] - Fix external-link-target bug
- [#688] - Issue #478 IE
- [#478] - Support on IE & Edge
- [#724] - Doesn't compile with pdf.js 2.6 and pdf.js 2.7
- [#717] - Module x has no exported member 'PDFDocumentProxy'
- [#715] - Several errors while building app with --prod flag