Ali Sajjad
Ali Sajjad

Reputation: 9

Delete event for custom stamps in pdftron

I want to add a confirmation dialog box when user clicks on the delete icon for deleting a custom stamp but the stamp disappears from dropdown list as soon as the click the button. It show up when you open the file again or we load it up again but its not good user experience. Is there any deletion event pdftron provides so that I can implement all the logic at our end from there?

Here is the screenshot of the delete button I am referring to

I tried finding the event but couldn't find one. I tried loading the stamp again as it wasn't deleted from our end but it causes a glitch (disappears and reappears) and its not a good user experience.

Upvotes: 0

Views: 145

Answers (1)

Wanbo
Wanbo

Reputation: 106

You can try the new 'customStampsDeleted' event which is available in the latest WebViewer version.

Upvotes: 0

Related Questions