GithubHelp home page GithubHelp logo

joserfjuniorllms / simple-pdf-viewer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from viktorhajer/simple-pdf-viewer

0.0 0.0 0.0 3.04 MB

This is a simple PDF viewer based on PDFjs

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

License: MIT License

TypeScript 78.23% HTML 16.15% CSS 5.62%

simple-pdf-viewer's Introduction

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

simple-pdf-viewer's People

Contributors

alexscheitlin avatar bthieblot avatar gorgchap avatar viktorhajer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.