Inside PDF.js Express
The PDF.js Express web viewer package contains three main components:
webviewer.js, the UI, and the Core.
webviewer.js is the main entry point of this package that uses UI and Core to render the PDF.js Express app inside an iframe.
A quick step-by-step tutorial to get you up and running in minutes.
Documents can be loaded from a URL, blob, base64, or with the filesystem, while documents can be exported for storage on a server.
Customizing the UI
PDF.js Express has a responsive UI that is completely open-source, giving developers the freedom needed to build unique, world-class user experiences and, ultimately, a successful product.
PDF.js Express imports annotations into the viewer through XFDF data. They can be created by the user through the UI, or programmatically. Annotation data can be imported or saved to a server/database. Annotation data can be imported or saved to a server/database, or merged directly into a document with a REST API.