Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ng2-pdfjs-viewer

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng2-pdfjs-viewer - npm Package Compare versions

Comparing version 3.4.7 to 3.4.8

2

package.json
{
"name": "ng2-pdfjs-viewer",
"version": "3.4.7",
"version": "3.4.8",
"repository": {

@@ -5,0 +5,0 @@ "type": "git",

@@ -13,3 +13,24 @@ # Angular 8 PDFJS viewer with Mozilla's ViewerJS (Supports Angular 2/4/5/6/7/8)

### Open in a new tab/window
## Features
Some of below features are unique to this component, which is unavailable in native viewer or other implementations.
✔️ **Open pdf in new window** 🌐 - Opens pdf viewer in new window. Alos, you may set all allowable external window options.
✔️ **Embed pdf** 🗎 - Embeds viewer and pdf inside your web page/component.
✔️ **Blob and byte arrays** 🔟 - Have pdf as a byte array? Still works.
✔️ **Print preview** 🖨️ - You can set the pdf to open in a new tab or another browser window and provide an immediate print preview, A use case will be a 'Print' button opening pdf in new window with print dialog.
✔️ **Auto download** 💾 - This option allows you to download the pdf file to user device automatically without manually invoking the download.
✔️ **Auto rotate** 🔄 - Rotate the document _clockwise_ or _anti-clockwise_ 90° (+/- 90°) just before displaying. Useful if the document is misaligned.
✔️ **Language** 🌍 - Set the language of your choice to the viewer controls.
✔️ **Custom error** ❌ - Hate the defaults pdfjs errors, use this feature to override or append to it.
✔️ **Side bar** 📎 - Open and show the sidebar with relevant information. E.g. Show attachments.
✔️ **Smart device friendly zoom** 📱 - A better zooming experience on small devices.
✔️ **Progress spinner** ⏳ - An optional spinner which displays before document renders.
✔️ **Show/Hide controls** 👻 - Do not want users to see specific controls (E.g. download button). Use relevant features to remove controls from viewer.
✔️ **Navigate** ⏩ - Navigate the document using page number, section, or even directly jump to last page if you are expecting a signature from user.
✔️ **Zoom** 🔍 - Several zoom methods, auto, percentage (E.g. 150%), page-with/height, fit page etc. with ability to set offset.
✔️ **Cursor** 👆 - Love the age old hand cursor 👆 on your pdf? You got it.
✔️ **Change file name** - You may set the file name of download to a different one, if user chooses to download.
✔️ **Scroll** 📜 - Changes the scroll to your choice. Even wrapped scrolling is supported.
✔️ **Spread** - Allows you to change spread to odd or even.
### Open in a new tab/ external window
<img src="/sampledoc/viewerImage.JPG" alt="angular 8 pdfjs viewer in new window"/>

@@ -16,0 +37,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc