Three.js editor feature

Hi,

I’d like to have in my own project this kind of feature that we can find in the three.js editor.
image

I find it useful to rotate my scene given the axis of the scene. But I can’t figure out how to do this and haven’t found info in the documentation?
Can someone have any idea how to do this?
Thank you

Look at three\editor\js
image

You should find a lot of useful information about this topic here:

Thanks for the reply. It hepls me a lot