ZoomConfiguration typedef
ZoomConfiguration = AnonymousType_1056938
This object contains configuration options for zooming. It allows granular control over the viewer zooming behavior.
Example:
The following example sets the zoom mode to FIT_TO_WIDTH, the scroll zoom mode to DISABLED, and disables the keyboard zooming.
```ts
NutrientViewer.load({
zoom: {
zoomMode: NutrientViewer.ZoomMode.FIT_TO_WIDTH,
wheelZoomMode: NutrientViewer.WheelZoomMode.DISABLED,
options: {
enableKeyboardZoom: false,
},
},
});
Implementation
typedef ZoomConfiguration = AnonymousType_1056938;