Socket
Book a DemoInstallSign in
Socket

pathquest-pdf-viewer

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pathquest-pdf-viewer

Embedding PDF files in your Angular application. Highly configurable viewer including the toolbar, sidebar, and all the features you're used to.

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

pathquest-pdf-viewer

Bringing PDF to the Angular world

This library provides an embeddable PDF viewer component. It's different from other approaches like ng2-pdf-viewer in that it shows the full suite of UI widgets. In other words, it strongly resembles the PDF viewer of your browser:

Features

  • programmatic API for many features, such as searching
  • Printing
  • Support for forms, including two-way binding
  • XFA forms are also supported (with a few limitations)
  • (Limited) support for signatures (lacking verification of the signature, so use on your own risk!)
  • Sidebar with thumbnails, outlines, and attachments (and each of them both optional and customizable)
  • Rotating pages
  • Download (including form data) and upload
  • Zoom (with optional two-way binding to an attribute)
  • Full-screen mode
  • Various selection tools
  • Standard display or even / odd spreads (like a book)
  • Book mode with animated page turn animations
  • Single page mode (supporting giant PDF documents of 30000+ pages)
  • Infinite scrolling
  • Plus several other approaches to scrolling (vertical, horizontal, "wrapped" scrolling)
  • A wide range of event listeners
  • Internationalization (providing translations to several dozen languages)
  • Direct access to the core API of pdf.js (including TypeScript definition files)
  • The ability to deactivate (i.e. hide) every button, menu item, and the context menu
  • Color theming
  • And customizing the toolbars, the side bar, and the menus according to your needs.
  • HighLighlight Text

Install

$ npm install pathquest-pdf-viewer

How to use the library

Import in your module file like shown below

import { PathQuestPdfViewerModule } from 'pathquest-pdf-viewer';

@NgModule({
  declarations: [
  ],
  imports: [
    PathQuestPdfViewerModule
  ]
})
export class PdfEditorModule { }

In html file

<pathquest-pdf-viewer [src]="'assets/example.pdf'" useBrowserLocale="true"></pathquest-pdf-viewer>

Keywords

PDF

FAQs

Package last updated on 11 Jul 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.