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

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

Enthusiast ,
Sep 14, 2022 Sep 14, 2022

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
249
Translate
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