Which product are you using?
PDF.js Express Viewer
Detailed description of issue
I want to route to a specific page when pdf loads. For example i want page number 10 to be shown instead of 1.
Which product are you using?
PDF.js Express Viewer
Detailed description of issue
I want to route to a specific page when pdf loads. For example i want page number 10 to be shown instead of 1.
Hello, I’m Ron, an automated tech support bot
While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:
Guides:APIs:Forums:Hey!
You can use the setCurrentPage API for this.
WebViewer(...).then(instance => {
const { documentViewer } = instance.Core;
documentViewer.addEventListener('documentLoaded', () => {
documentViewer.setCurrentPage(10)
})
})
Thanks,
Logan
Thanks logan it works