0
Community Beginner
,
/t5/acrobat-services-api-discussions/how-can-i-call-a-function-on-change-of-page-i-want-to-save-the-last-page-user-visited/td-p/13035057
Jun 28, 2022
Jun 28, 2022
Copy link to clipboard
Copied
i want to save the page user last visited so he could resume it from the same page when he came again, for that i want to call a function on every change of page. i there any api for that
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
1 Correct answer
Adobe Employee
,
Jun 28, 2022
Jun 28, 2022
Here's a CodePen showing it in action: https://codepen.io/cfjedimaster/pen/NWvoWNY
Adobe Employee
,
/t5/acrobat-services-api-discussions/how-can-i-call-a-function-on-change-of-page-i-want-to-save-the-last-page-user-visited/m-p/13036401#M4298
Jun 28, 2022
Jun 28, 2022
Copy link to clipboard
Copied
Yes - we have event handling support that lets you listen for the page change event.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Adobe Employee
,
/t5/acrobat-services-api-discussions/how-can-i-call-a-function-on-change-of-page-i-want-to-save-the-last-page-user-visited/m-p/13036403#M4299
Jun 28, 2022
Jun 28, 2022
Copy link to clipboard
Copied
Here's a CodePen showing it in action: https://codepen.io/cfjedimaster/pen/NWvoWNY
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Adobe Employee
,
LATEST
/t5/acrobat-services-api-discussions/how-can-i-call-a-function-on-change-of-page-i-want-to-save-the-last-page-user-visited/m-p/13036408#M4300
Jun 28, 2022
Jun 28, 2022
Copy link to clipboard
Copied
And a blog post: https://medium.com/adobetech/improving-the-reader-experience-with-adobe-embed-api-5079498411d9
Sorry - normally I'd have done this in one post.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

