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?
Have something to add?