[vtk.js] trackball/default interaction style with pan/zoom on other mouse buttons

Hi Bane and Sebastian, very useful discussion!
I have already changed some mouse and key combinations successfully. However I want to have more complex interaction. In c++ I am able to really control and create my interactors, but in vtk js it’s been a challange.

I am trying to do something similar to what Bane has, while mixing up with this example: https://kitware.github.io/vtk-js/examples/InteractorStyleMPRSlice.html

I am trying to add the part
interactorStyle.onModified(updateUI);

but nothing is happening. Am I missing some options in the interactorStyleDefinitions ? or in the interactorStyle? I would like to be able to “parse” the mouse clicks as I do in c++.

Thanks!