Is there a way to trigger an event once my wheel event has finished?
I came across a solution that uses a scroll event (which is similar) with a setTimeout
function here:
However, I'm curious if there's a more elegant method to detect when my wheel event no longer produces results.
This is how I currently handle the wheel event:
window.addEventListener('wheel', function(e) {
console.log(e.deltaY);
});