View Full Version : How to get the wheelDelta on scroll event

2 Apr 2014, 5:32 AM
Hi All,
I have a panel for with registered scroll event.
When the scroll event fires i want to get the wheelDelta value.

panel.body.on('scroll', function(event, target, eObj) {

event.getWheelDelta() // Returning always 0
event.getWheelDelatas() // Returning {x:0, y:0}


How to get the value?

Can anybody plz help me to achieve this?

3 Apr 2014, 3:14 AM
Check the below example, it is working in my end