Initial Page Property #2015
-
Before you start - checklist
DescriptionHey there, been experimenting with the library the last few days. I've been looking for a few hours now and while it's possible i've missed it, i can't seem to find anything in the README to explain how one might set the starting page in a pdf while still rendering all pages. I feel like it might be quite useful, to myself of course, but also to others who want to initialise their pdfs on specific pages without having to utilise the DOM to automatically scrolling (which is how I'm working around this for now) Proposed solutionAdd an AlternativesNo response Additional informationNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You're in full control over what pages are rendered using Page component, so something like initialPage would not really fit the architecture. The only thing you can do here is render the initial page yourself and then listen for onRenderSuccess to trigger rendering all pages at once. The first original page will stay, and the subsequent ones will be added. |
Beta Was this translation helpful? Give feedback.
You're in full control over what pages are rendered using Page component, so something like initialPage would not really fit the architecture. The only thing you can do here is render the initial page yourself and then listen for onRenderSuccess to trigger rendering all pages at once. The first original page will stay, and the subsequent ones will be added.