Skip to content

Feature request: jump method #139

Answered by hrynko
yongtaoer asked this question in Q&A
Apr 28, 2023 · 5 comments · 4 replies
Discussion options

You must be logged in to vote

You can set an ID to the vue-pdf-embed component, so that it is assigned to the container element and each page has an ID as <PROVIDED_ID>-<PAGE_NUMBER>. You can then leverage the anchor links for navigation and the intersection observer to display the current page number.

You can find some more insight in this article.

Replies: 5 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@hrynko
Comment options

Answer selected by hrynko
@yongtaoer
Comment options

Comment options

You must be logged in to vote
2 replies
@hrynko
Comment options

@yongtaoer
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #138 on April 28, 2023 10:00.