PDF Viewer is a Javascript plugin for embedding PDF files on a webpage. It is coded in pure Javascript, and does not require jQuery to work. So you can use this in AngularJS or ReactJS applications also.
Features
- Embed a PDF document in a HTML element of your specified width
- Embed multiple PDF documents in a single page
- “Previous” & “Next” buttons to move to previous and next pages of the PDF
- Loading progress bar will be seen while PDF is being rendered
- “Full Screen” button to render the PDF in full-screen mode
- “Download” button to download the PDF
Using the Plugin
- Include plugin Javascript files
- Include plugin CSS file
- Add an empty HTML element that will act as parent container for the PDF viewer
- Call a Javascript function to render the PDF in the HTML element
A documentation is also available that will show how to use the plugin, and the various options. Example files are also included.
Developer Features
- Highly commented code
- It is based on the stable PDF.JS library
- Comes with a thorough documentation
- Example files are included that will demonstrate embedding single or multiple PDF documents