Provides capability to preview PDF file (Base64 or URL) in the web or mobile app, also provide zoom capability for the PDF preview. Combined using pdf.js and HammerJS.
-----------------------------
Usage:
1. Drag the PDFPreviewBase64 (for Base64) or PDFPreviewURL (for URL)
2. Assign the PDF Base64 value or the PDF URL
Note: for URL usage, make sure that the destined PDF URL doesn't block the call.
References:
1. https://github.com/mozilla/pdf.js
2. https://hammerjs.github.io/