I'm trying to execute a function after the user has stopped scrolling on my website but I'm having trouble finding a solution on how to detect when the user has stopped scrolling...
This is the function I'm using
$(window).on('scroll', function() {
existingFunction();
//code to be executed when the scroll has finished
});
Is there like an event or something I can check to see if the scroll has completed?