-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need single page mode #495
Comments
Seems to be the same request as #476. |
OK, you also seem to need to hide every page except the active page. Let's generalize it to three options:
|
Plus, you need to suppress page-changes when the user scrolls. That's slightly similar to #492. So that'd be two new attributes:
|
I've started to implement the single-page mode. The current results don't look bad, but it still requires some work. It's not easy to implement such a change to pdf.js. |
…' (PoC) (breaks the regular page mode!)
…' (PoC) (breaks the regular page mode!)
…clicking on the TOC with pageMode=`single`
…clicking on the TOC with pageMode=`single`
@nbaua Enjoy! |
I can not thank you enough, my apologies could not revert back earlier due to my crashed laptop. Regards, |
Your welcome! |
Problem Area:
We want to implement a page by page view mode for PDF files which is essential for us for reviewing blueprints of construction projects on browser.
We tried with Horizontal scroll mode which still does not fit the requirement exactly.
Why: Because the blueprint documents are not A4 or consistent standard sizes and we prefer the classic click page navigation buttons. Also we prefer scrolling within the page, when zoomed at higher values and read tech-details on those PDF pages.
In nutshell we want a single page loaded in viewport and be able to navigate through the standard prev-next buttons.
Seen the docs, [scrollMode]="1" can not be applied via HTML markup.
The scrollModeOnLoad also can not be applied via any atrributes.
Feature Request:
[PageViewMode]="Single" ---> Single | Multiple
We believe. This will be helpful in other scenarios too.
Regards,
N Baua
The text was updated successfully, but these errors were encountered: