Copy link to clipboard
Copied
Is there a way to disable/hide the two-page view option from the Embed API?
I would like to enforce this so that I can accurately log the pages viewed.
Currently, in FULL_WINDOW mode, while scrolling, the events have the following information:
I want to disable this view, and log the last page visible where the fractionVisible is greater than .15.
Copy link to clipboard
Copied
At this time, there is not a way to modify that area of the toolbar.
Copy link to clipboard
Copied
Ok, thank you! I can write a function for it using numPages from metadata.
Is there a way to get the current viewing state? Particularely whether it is in two-page view or not. That way I can distinguish whether multiple pages are in view because the user has zoomed out (but all pages are reported byPAGES_IN_VIEW_CHANGE) or whether I need to account for an additional page in two-page view (the bottom right page).
Copy link to clipboard
Copied
Or perhaps a function to check what percent of a page is visible on the screen? (We can assume that if the page following the startPage has the same visibility % as the first, and there is a thrid page visible, that we are in two-page view.)
Find more inspiration, events, and resources on the new Adobe Community
Explore Now