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

Pdf embed api - How can to catch event before open link?

Enthusiast ,
Sep 14, 2022 Sep 14, 2022

Copy link to clipboard

Copied

I had try registerCallback , but it only can catch event after open link:

adobeDCView.registerCallback(
/* Type of call back */
AdobeDC.View.Enum.CallbackType.EVENT_LISTENER,
/* call back function */
function(event) {
switch(event.type) {
case "HYPERLINK_OPEN":
console.log("Clicked on hyperlink "+event.data.fileName);
console.log(event);
break;
}
},
{
enablePDFAnalytics: true,
}
);
});

 

How can to catch event before open link?

TOPICS
PDF Embed API

Views

52

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
no replies

Have something to add?

Join the conversation
Resources