mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 17:55:37 +02:00
Add scrolling modes to web viewer
In addition to the default scrolling mode (vertical), this commit adds horizontal and wrapped scrolling, implemented primarily with CSS.
This commit is contained in:
parent
65c8549759
commit
91cbc185da
17 changed files with 665 additions and 27 deletions
|
@ -96,6 +96,9 @@ function getViewerConfiguration() {
|
|||
pageRotateCcwButton: document.getElementById('pageRotateCcw'),
|
||||
cursorSelectToolButton: document.getElementById('cursorSelectTool'),
|
||||
cursorHandToolButton: document.getElementById('cursorHandTool'),
|
||||
scrollVerticalButton: document.getElementById('scrollVertical'),
|
||||
scrollHorizontalButton: document.getElementById('scrollHorizontal'),
|
||||
scrollWrappedButton: document.getElementById('scrollWrapped'),
|
||||
documentPropertiesButton: document.getElementById('documentProperties'),
|
||||
},
|
||||
fullscreen: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue