I disabled scrolling on my project with overflow:hidden;
in css and intend to use animations when scroll / touchmove event is fired.
I've managed to catch the event with
$(document).on('mousewheel touchmove', function());
But i can't get the info which direction did the mousewheel or touchmove go. Is there another aproach to this or should i ditch this aproach and go with something different?
My plan was to use tweenmax animations that bind on scroll / touchmove / keyboard arrow keys. And keep the website static aka disable scroll.