Creates a new instance of the zoom interaction handler.
The NVL instance to attach the interaction handler to.
Returns the current options of the interaction.
The current options of the interaction.
Enables or disables global text selection during a drag or pan operation.
Whether to enable or disable global text selection.
Optional
eventFunction: ((this: HTMLElement, ev: MouseEvent) => void)The event function to be added/removed when text selection is disabled/enabled.
Interaction handler for zooming the canvas, which is achieved by scrolling the mouse wheel on the canvas.
For examples, head to the Zoom Interaction documentation page.