Is there a way to stop mousewheel on the whole body, after an animation starts on wheel?
Like this:
body.addEventListener('wheel', function(e) {
e.preventDefault()
// ...then do the animation here
}
Is there a way to stop mousewheel on the whole body, after an animation starts on wheel?
Like this:
body.addEventListener('wheel', function(e) {
e.preventDefault()
// ...then do the animation here
}