Event handling for element icons

I have tried with “element.contextmenu” event on eventBus , but I am not able to read this event.
Is there any other event on eventBus with which I can get the click on contextMenu for an element

.32%20PM

Hey,

There are some different actions triggered by the context pad such as append, remove, connection start etc. What you could do is that go to ContextPadProvider.js under bpmn-js library, search for click and fire your own click event (contextPad.element.clicked or something) inside the found click handlers.

If you mean the case where the context pad is opened, contextPad.open is your answer.