A very simple PDF viewer implementation in Angular 11 based on the PDFjs library from Mozilla. Its a great place to start for anybody who is looking to build on top of the most basic features like Canvas layer + Text layer rendering. All the boiler plate code needed has been included for you.
This project was generated with Angular CLI version 11.0.6.
This is a very simple PDF viewer implementation in Angular 11 based on the PDFjs library from Mozilla. Its a great place to start for anybody who is looking to build on top of the most basic features like Canvas layer + Text layer rendering which have already been implemented for you.
Two important features of this implementation:
Clone the repository and install node/npm package manager on your system and then run the following command at the root folder:
npm install
A ‘test-app’ has been included along with this project that directly links to the ‘ng2-lean-pdf-viewer’ project library files.
Any change you make within the library would automatically reload the test-app and would be refected in your browser:
npm start