Writting

ng2-pdf-viewer

ng2 PDF Viewer by Vadimdez

A powerful PDF viewer supported by Angular 5+ being constantly updated and maintained.

Project website https://github.com/VadimDez/ng2-pdf-viewer

Documentation https://vadimdez.github.io/ng2-pdf-viewer/

License MIT

Demos
1. https://vadimdez.github.io/ng2-pdf-viewer/
2. https://stackblitz.com/edit/ng2-pdf-viewer

Dependencies

“@types/pdfjs-dist”: “^2.0.1”,
“pdfjs-dist”: “^2.2.228”

NPM

https://www.npmjs.com/package/ng2-pdf-viewer

npm i ng2-pdf-viewer

Features

  • resizing (+ auto-resizing)
  • ‘stick to page’ and ‘fit to page’ option
  • zooming
  • rotation (-/+ 90 degree)
  • outline
  • searching
  • text layer on/off
  • show all pages option
  • page numbering
  • linking options: blank, none, self, parent, top
  • callbacks: onError, onSuccess
  • supports Angular 5+

You may also like...