Skip to content
Sample to demonstrate integrating WebViewer into an Electron App
JavaScript HTML
Branch: master
Clone or download
Latest commit aaad5e8 Aug 15, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
src Update to 5.1 Jun 24, 2019
.gitignore
LICENSE Initial Commit Feb 11, 2019
README.md Update README.md Aug 15, 2019
package.json update sample to remove license key requirements Jun 6, 2019

README.md

WebViewer - Electron sample

WebViewer is a powerful JavaScript-based PDF Library that's part of the PDFTron PDF 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 any web project.

WebViewer UI

This repo is specifically designed for any users interested in integrating WebViewer into an Electron project.

Initial setup

Before you begin, make sure your development environment includes Node.js.

Install

git clone https://github.com/PDFTron/webviewer-electron-sample.git
cd webviewer-electron-sample
npm install

Run

npm start

Build

Since Electron builds are platform specific, please refer to the guides to learn how to build your project for production.

WebViewer APIs

See API documentation.

License

See license.

You can’t perform that action at this time.