mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Refactor the mobile viewer example
This mostly removes B2G-specific code and adds the styles from the B2G components.
This commit is contained in:
parent
a9dd2ab0ab
commit
a20f814265
4 changed files with 72 additions and 79 deletions
11
examples/mobile-viewer/README.md
Normal file
11
examples/mobile-viewer/README.md
Normal file
|
@ -0,0 +1,11 @@
|
|||
## Overview
|
||||
|
||||
Example to demonstrate PDF.js library usage with a viewer optimized for mobile usage.
|
||||
|
||||
## Getting started
|
||||
|
||||
Build PDF.js using `gulp dist` 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.
|
Loading…
Add table
Add a link
Reference in a new issue