Scroll Detection in Pdf

i Want to ask question about if there is any way to detect scroll in Pdf Viewer While Viewing Pdf file in Viewer


1 Reply

DM Dhivyabharathi Mohan Syncfusion Team December 2, 2021 08:13 AM UTC

Hi Mohamed, 
  
 
 
Thank you for contacting Syncfusion support. 
  
 
 
Syncfusion PDF Viewer will trigger the pageChange event while scrolling the PDF pages. We have shared the sample and code snippet for your reference. 
  
 
 
  
 
 
  
 
 
Code snippet: 
 
 
$("#pdfviewer").ejPdfViewer({ serviceUrl: 'https://js.syncfusion.com/ejServices/api/PdfViewer', pageChange:"pageChange"}); 
         
function pageChange(evt) { 
console.log(evt); 
} 
 
 
 
  
Kindly try this and revert us, if you have any concerns. 
  
 
 
Regards, 
Dhivya. 


Loader.
Up arrow icon