• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

How can i call a function on change of page. I want to save the last page user visited ?

New Here ,
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

Views

43

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 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

Likes

Translate

Translate
Adobe Employee ,
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. 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
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

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jun 28, 2022 Jun 28, 2022

Copy link to clipboard

Copied

LATEST

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.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources