I develop on EXB 1.13 for 3D web apps.
I succeeded to respond to mouse wheel by responding to extent changes, but I want to know how to catch and respond to mouse wheel changes directly.
Solved! Go to Solution.
https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#event-mouse-wheel
view.on("mouse-wheel", function(event){
// deltaY value is positive when wheel is scrolled up
// and it is negative when wheel is scrolled down.
console.log(event.deltaY);
});
https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#event-mouse-wheel
view.on("mouse-wheel", function(event){
// deltaY value is positive when wheel is scrolled up
// and it is negative when wheel is scrolled down.
console.log(event.deltaY);
});