How do you go about getting mouse wheel events in reactjs?
I have tried onWheel
render: function() {
return <div onWheel = {this.wheel} >
< /div>;
},
and I have tried onScroll
render: function() {
return <div onScroll = {this.wheel} >
< /div>;
},
But neither of these events are picked up. See the fiddle below :