Skip to main content
Question

Content preview - page focus event

  • May 22, 2025
  • 1 reply
  • 7 views

Forum|alt.badge.img

Hi.  I'm wondering if there is an event that fires whenever the page focus changes in the content preview.  For example, as you scroll from page 3 to page 4, is there any event that can fire to tell you that?

 

I see the 'navigate' event, but I *think* that refers to the event wherein the preview switches from one 'file' to another 'file', not when the page in focus changes within a single file.

 

Any ideas?

1 reply

Forum|alt.badge.img

Hey ,

There is a 'pagefocus' event for the document viewer which returns the page that you scrolled to. Check out the readme here. Hope this helps!