Black Lives Matter. Please consider donating to Black Girls Code today.

Zoom plot with mouse scroll

Hello,

is it possible to activate zooming using mouse scoll? I know it’s possible in plotly.js: https://codepen.io/plotly/pen/QjKZbg. And JS code for plotly.js is generated from R, so it should be possible also in R.

Thanks in advance.