How to listen to a selection changing?

To listen and react to a click I use : eventBus(‘element.click’, function)

How can I listen a selection change?

Thank you

I find !

I had to use the parameter ‘element.changed’ in the eventBus function like this :

eventBus(‘selection.changed’, function)

3 Likes