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

ngx-extended-pdf-viewer

Package Overview
Dependencies
Maintainers
1
Versions
636
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-extended-pdf-viewer - npm Package Compare versions

Comparing version 0.3.4 to 0.9.1

example-screenshot.png

17

lib/ngx-extended-pdf-viewer.component.d.ts

@@ -20,2 +20,19 @@ import { OnInit, OnChanges, SimpleChanges, AfterViewInit } from '@angular/core';

useBrowserLocale: boolean;
backgroundColor: string;
showSidebarButton: boolean;
showFindButton: boolean;
showPagingButtons: boolean;
showZoomButtons: boolean;
showPresentationModeButton: boolean;
showOpenFileButton: boolean;
showPrintButton: boolean;
showDownloadButton: boolean;
showBookmarkButton: boolean;
showSecondaryToolbarButton: boolean;
showRotateButton: boolean;
showSelectToolButton: boolean;
showHandToolButton: boolean;
showScrollingButton: boolean;
showSpreadButton: boolean;
showPropertiesButton: boolean;
constructor();

@@ -22,0 +39,0 @@ ngOnInit(): void;

2

package.json
{
"name": "ngx-extended-pdf-viewer",
"version": "0.3.4",
"version": "0.9.1",
"license": "Apache License V2",

@@ -5,0 +5,0 @@ "repository": {

@@ -7,2 +7,4 @@ # ngx-extended-pdf-viewer

![Screenshot of <ngx-extended-pdf-viewer> in action](./example-screenshot.png)
## State of the art

@@ -79,8 +81,24 @@

| _Attribute_ | _mandatory?_ | _default value_ | _description_ |
| ---------------- | :----------: | :-------------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| src | yes | | defines the URL of the PDF file to display. |
| height | no | 80vh | define the height of the PDF window. By default, it's 80vh (i.e. 80% of the screen height). |
| useBrowserLocale | no | false | if true, the PDF viewer assumes the locale files are in the assets folder. If false, you are responsible for providing the translated texts. |
| delayFirstView | no | 0 | Number of milliseconds to wait between initializing the PDF viewer and loading the PDF file. Most users can let this parameter safely at it's default value of zero. Set this to 1000 or higher if you run into timing problems (typically caused by loading the locale files after the PDF files, so they are not available when the PDF viewer is initialized). |
| _Attribute_ | _mandatory?_ | _default value_ | _description_ |
| -------------------------- | :----------: | :-------------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| src | yes | | defines the URL of the PDF file to display. |
| height | no | 80vh | define the height of the PDF window. By default, it's 80vh (i.e. 80% of the screen height). |
| useBrowserLocale | no | false | if true, the PDF viewer assumes the locale files are in the assets folder. If false, you are responsible for providing the translated texts. |
| delayFirstView | no | 0 | Number of milliseconds to wait between initializing the PDF viewer and loading the PDF file. Most users can let this parameter safely at it's default value of zero. Set this to 1000 or higher if you run into timing problems (typically caused by loading the locale files after the PDF files, so they are not available when the PDF viewer is initialized). |
| showSidebarButton | no | true | Show or hide the button to toggle the sidebar |
| showFindButton | no | true | Show or hide the "find" button |
| showPagingButtons | no | true | Show or hide the buttons to navigate between pages and the input field to navigate to a particular input field |
| showZoomButtons | no | true | Show or hide the "zoom" button |
| showPresentationModeButton | no | true | Show or hide the "full screen" button |
| showOpenFileButton | no | true | Show or hide the "open file" button |
| showPrintButton | no | true | Show or hide the "print" button |
| showDownloadButton | no | true | Show or hide the "download" button (aka "save" button) |
| showBookmarkButton | no | true | Show or hide the "bookmark" button |
| showSecondaryToolbarButton | no | true | Show or hide the secondary toolbar (the menu hiding behind the arrows at the right-hand side) |
| showRotateButton | no | true | Show or hide the "rotate" menu items in the secondary toolbar |
| showSelectToolButton | no | true | Show or hide the "select text" menu item in the secondary toolbar |
| showHandToolButton | no | true | Show or hide the "hand tool" menu item in the secondary toolbar. (The hand tool allows you to move the page by clicking and dragging) |
| showScrollingButton | no | true | |
| showSpreadButton | no | true | Show or hide the "spread" menu items in the secondary toolbar |
| showPropertiesButton | no | true | Show or hide the "show document properties" menu item in the secondary toolbar |

@@ -157,1 +175,2 @@ ## Internationalization

| 0.3.4 | removed debug code |
| 0.9.1 | added options to hide every button from the UI |

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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