Skip to content

A sample project demonstrating how to integrate PDFTron's WebViewer into a jQuery project

License

Notifications You must be signed in to change notification settings

ApryseSDK/webviewer-jquery-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebViewer - jQuery sample

WebViewer is a powerful JavaScript-based PDF Library that is part of the Apryse SDK. It provides a slick out-of-the-box responsive UI that interacts with the core library to view, annotate and manipulate PDFs that can be embedded into web projects.

WebViewer UI

This repo is designed for users interested in integrating WebViewer into jQuery project. For more information, refer to jQuery.

Initial setup

Before beginning, Node.js should be installed to the development environment.

Install

git clone https://github.com/ApryseSDK/webviewer-jquery-sample
cd webviewer-jquery-sample
npm install

Run

npm start

It will load http://localhost:3000/. The application will automatically reload if you change any of the source files.

Full API for PDF processing

PDFNetJS Full is a complete browser side PDF SDK, unlocking viewing, parsing and editing of PDF files. To enable full API, modify the constructor in app.js:

WebViewer({
  path: 'lib', // path to the Apryse 'lib' folder on your server
  initialDoc: 'https://pdftron.s3.amazonaws.com/downloads/pl/webviewer-demo.pdf',
+  fullAPI: true
}, document.getElementById('viewer'))

For more information, refer to Full API for PDF processing and Class: WebViewerInstance.

Showcase

For a live demo of the WebViewer capabilities, refer to the Apryse WebViewer Demo: JavaScript PDF Viewer Demo.

Contributing

Submission to this repo is governed by these guidelines.

License

For licensing, refer to License.

About

A sample project demonstrating how to integrate PDFTron's WebViewer into a jQuery project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published