Is there an event that fires for each unique page render?

WebViewer Version: 8.0.1

Please give a brief summary of your issue:
Is there a version of the DocumentViewer.pageComplete event that is called when a page is rendered for the first time? I would like to avoid anything that triggers upon scroll/zoom in addition to page renders

Reference for DocumentViewer.pageComplete:


Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:



We usually leave this type of situation up to user’s implementation. If you wish to do something only when a page is rendered for the first time, you can do the following:

const pageRenderedStatusMap = {};
const pages = documentViewer.getPageCount();
for (let i=0;i<pages;i++) {
    pageRenderedStatusMap[i+1] = false;
documentViewer.addEventListener('pageComplete',(pageNumber, canvas)=>{
    if (!pageRenderedStatusMap[pageNumber]) {
        console.log('page '+ pageNumber +' was rendered the first time!');
        pageRenderedStatusMap[pageNumber] = true;