mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 02:05:37 +02:00
Add spread modes to web viewer
This builds on the scrolling mode work to add three buttons for joining page spreads together: one for the default view, with no page spreads, and two for spreads starting on odd-numbered or even-numbered pages.
This commit is contained in:
parent
91cbc185da
commit
3d83c646c6
16 changed files with 168 additions and 25 deletions
|
@ -99,6 +99,9 @@ function getViewerConfiguration() {
|
|||
scrollVerticalButton: document.getElementById('scrollVertical'),
|
||||
scrollHorizontalButton: document.getElementById('scrollHorizontal'),
|
||||
scrollWrappedButton: document.getElementById('scrollWrapped'),
|
||||
spreadNoneButton: document.getElementById('spreadNone'),
|
||||
spreadOddButton: document.getElementById('spreadOdd'),
|
||||
spreadEvenButton: document.getElementById('spreadEven'),
|
||||
documentPropertiesButton: document.getElementById('documentProperties'),
|
||||
},
|
||||
fullscreen: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue