Restricting OrbitControls to Specific Axes While Preserving Default Behavior

Is it possible to restrict the OrbitControls functionality to specific axes (X, Y, or Z) while still maintaining its default behavior, similar to the Autodesk Forge Viewer? If so, how can this be implemented?

Please take a look at CameraTurntableOperator. Setting a specific rotation axis can be done via the function CameraTurntableOperator.setRotationAxis.

Okay I got it. Thanks!