0
Pdf embed api - How can to catch event before open link?
Enthusiast
,
/t5/acrobat-services-api-discussions/pdf-embed-api-how-can-to-catch-event-before-open-link/td-p/13200100
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
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Have something to add?
Join the conversation