Gateway onclick bpmn editor

Hello everyone, i would like to know if it is possible to detect a gateway onclick, to make pop a datatable for example. Indeed i would like to add custom properties to my gateways to say to my model "go to this sequenceflow when "

Thanks ^^

Fantemis

Here you go: https://github.com/bpmn-io/bpmn-js-examples/tree/master/interaction

Thank you :slight_smile: and i maybe should create another topic for this question but do you know how to count the number of a given element ? number of gateways for exemple

Fantemis