score:2

you can add event listener using javascript as follows

window.addeventlistener("wheel", event => {
 // your code
});

or you can add onwheel directly on the element

<div onwheel = {(e) => this.onwheel(e)} > 

Related Query

More Query from same tag