Skip to main content
Known Participant
February 2, 2021
Answered

[PDF embed API] set scroll or page

  • February 2, 2021
  • 1 reply
  • 2075 views

Hi,

 

I'd like to ask if there is an API endpoints for setting the scroll position or page to view. 

 

I understand that there is events like PAGE_VIEW, PREVIEW_PAGE_VIEW_SCROLLED,  to record the current page and scroll location.

 

this is to implement a function to resume the last reading location after the pdf is closed. 

 

thanks.

    This topic has been closed for replies.
    Correct answer Joel Geraci

    I have a CodePen here that demonstrates this.

    1 reply

    Joel Geraci
    Community Expert
    Joel GeraciCommunity ExpertCorrect answer
    Community Expert
    February 2, 2021

    I have a CodePen here that demonstrates this.

    Participant
    February 2, 2021
    I feel very ignorant and stupid I do not know what I'm doing I don't know
    what y'all want can't you just send me a text and put in plain English the
    steps one two three please I was just ready to break my phone
    tangyunAuthor
    Known Participant
    February 3, 2021

    calm down bro. 

     

    please share the issue you're facing now or what you're not sure about, I believe this community could help you.