Skip to content
Sample to demonstrate integrating WebViewer into an Electron App
JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
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
README.md
package.json

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.