Skip to main content
This topic has been closed for replies.
Correct answer Akshay Rohatgi

Hi @Robert22788616336o 
Thanks for using PDF Embed API.  You can use the below code to add the load complete event.

new window.AdobeDC.View({ ... })
  .previewFile({ ... }, { ... })
  .then((adobeViewer) => { // This is called once PDF is done loading. });
Do let us know in case of any concerns.

1 reply

Akshay Rohatgi
Adobe Employee
Akshay RohatgiCorrect answer
Adobe Employee
July 5, 2022

Hi @Robert22788616336o 
Thanks for using PDF Embed API.  You can use the below code to add the load complete event.

new window.AdobeDC.View({ ... })
  .previewFile({ ... }, { ... })
  .then((adobeViewer) => { // This is called once PDF is done loading. });
Do let us know in case of any concerns.