How to be notify to the button clicks.

Product: @pdftron/webviewer

Product Version:^11.7.1

how to be notified when buttons like pan, search, comments, any toolbar items, left panel, view control, zoom container clicked

1 Like

Hello Lokesh,

Thank you for contacting Apryse Support.

We currently have some functionality in the Modular UI which you could use to do this: https://docs.apryse.com/api/web/UI.html#.setClickMiddleware__anchor

This is effectively a function that you can use to trigger whatever you want before the actual onClick triggers. For example, you can use this to track tool use or other front end button clicks.

https://sdk.apryse.com/api/web/UI.html#.setClickMiddleware__anchor

Let me know if you have any additional questions.

Best Regards,

Darian

1 Like