mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-07-26 08:57:21 +02:00
Updated Viewer options (mediawiki)
parent
d0aab401a9
commit
13204dc0ec
@ -1,10 +1,5 @@
|
||||
Options for PDF.js's viewer that can be given at the URL level. Multiple values of either type can be combined by separating with an ampersand (&) after the hash (example: #page=2&textLayer=off).
|
||||
|
||||
===Options after the ?===
|
||||
Example: http://www.example.com/pdf.js?file=myfile.pdf
|
||||
|
||||
* file: the filename of the PDF file to use (must be on the same server due to JavaScript limitations). Example: file=myfile.pdf
|
||||
|
||||
===Options after the #===
|
||||
Example: http://www.example.com/pdf.js#page=2
|
||||
|
||||
@ -21,4 +16,10 @@ Example: http://www.example.com/pdf.js#page=2
|
||||
** visible, shadow, hover: apply the CSS class <tt>textlayer-{value}</tt> to all text layers
|
||||
* pdfBug: enable debugging tools, see [https://github.com/mozilla/pdf.js/wiki/Debugging-pdf.js].
|
||||
* useOnlyCssZoom: set to true to use only CSS zoom. Example: useOnlyCssZoom=true
|
||||
* verbosity: specify the verbosity of console messages. 0 = only errors, 1 = warnings and errors, 5 = warnings, errors and information messages. Example: verbosity=5
|
||||
* verbosity: specify the verbosity of console messages. 0 = only errors, 1 = warnings and errors, 5 = warnings, errors and information messages. Example: verbosity=5
|
||||
|
||||
|
||||
===Options (for viewer.html) after the ?===
|
||||
Example: http://mozilla.github.io/pdf.js/web/viewer.html?file=myfile.pdf
|
||||
|
||||
* file: the filename of the PDF file to use (must be on the same server due to JavaScript limitations). Example: file=myfile.pdf
|
||||
Loading…
x
Reference in New Issue
Block a user