You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

simple-pdf-viewer

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-pdf-viewer

Simple PDF Viewer

2.0.3
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

Simple PDF Viewer

downloads npm version PayPal donate button

This is a simple but smart PDF Viewer component for angular/ionic websites.

Demo page

https://viktorhajer.github.io/simple-pdf-viewer/

Features

  • Open: the src can be one of the following: file URL, Uint8Array or PDFSource
  • Separated methods to open javascript File object or http URL
  • Display: PDF conatiner is displayed
  • Information: number of pages, viewport information (zoom, rotation...), meta information (author, subject, creator...)
  • Navigation: navigate to the first page, the last page, next page, previous page and any of the pages
  • Zooming: zoon in, zoom out, full page, page width, page height, set any zoom as double or percent
  • Rotation: turn the document left or right (+/- 90 degree)
  • Outline / Table of Content: provides the outline if exists and possiblity to navigate to the outline item
  • Searching: case sensitive/insensitve text search (phraseSearch and highlightAll can be turn on/off), go to next/prev match, number of matches
  • Bookmarks: create bookmark based on the actual viewport and that can be used for navigation
  • Snapshot: create snapshot about the actual page, scale can be specified (1.0 by default)

Installation Instructions and Usage

https://github.com/viktorhajer/simple-pdf-viewer/wiki/How-to-use

Type Documentation

https://github.com/viktorhajer/simple-pdf-viewer/wiki/API-Documentation

Screenshot

Screenshot

Contribute

See CONTRIBUTING.md

License

MIT © Viktor Hajer

Keywords

angular

FAQs

Package last updated on 18 Dec 2018

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