🚧 Under Construction 🚧

This example is not yet complete. Please feel free to submit a pull request to add this example to our docs! If you need help getting started, reach out in our GitHub Issues.

Zoom MouseWheel Tool

How to set up the ZoomMouseWheel tool:

// Init cornerstone tools
cornerstoneTools.init();

// Enable any elements, and display images
// ...

// Add our tool, and set it's mode
const ZoomMouseWheelTool = cornerstoneTools.ZoomMouseWheelTool;

cornerstoneTools.addTool(ZoomMouseWheelTool)
cornerstoneTools.setToolActive('ZoomMouseWheel', { mouseButtonMask: 1 })