• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

PDF Loaded Listener

Explorer ,
Jul 01, 2022 Jul 01, 2022

Copy link to clipboard

Copied

Is there a way to listen for a load complete on the embed api?  How do I do this?

TOPICS
How to , PDF Embed API , PDF Services API

Views

168

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Jul 04, 2022 Jul 04, 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.

Votes

Translate

Translate
Adobe Employee ,
Jul 04, 2022 Jul 04, 2022

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources