pdf.js/examples/mobile-viewer
Jonas Jenwald 9ec2fda09f Simplify the l10n-handling in the mobile-viewer example
- Remove the `errorWrapper`-element, since it simplifies the example and is consistent with the default viewer; see PR 15533.

 - Simplify the l10n-handling, since the `NullL10n` should be able to translate everything e.g. without fallback values; see PR 17146.
2023-10-28 10:26:34 +02:00
..
images Move B2G viewer to the examples folder 2016-07-27 17:31:52 +02:00
README.md Correct the instructions in the README file for examples/mobile-viewer 2018-07-08 15:32:06 +02:00
viewer.css Simplify the l10n-handling in the mobile-viewer example 2023-10-28 10:26:34 +02:00
viewer.html Simplify the l10n-handling in the mobile-viewer example 2023-10-28 10:26:34 +02:00
viewer.mjs Simplify the l10n-handling in the mobile-viewer example 2023-10-28 10:26:34 +02:00

Overview

Example to demonstrate PDF.js library usage with a viewer optimized for mobile usage.

Getting started

Build PDF.js using gulp dist-install and run gulp server to start a web server. You can then work with the mobile viewer at http://localhost:8888/examples/mobile-viewer/viewer.html.

Refer to viewer.js for the source code of the mobile viewer.