Closed andig closed 10 years ago
I'm missing a callback that tells me which element I'm at during scrolling and to what % I've proceeded to the next element. scrolledToElementNumber doesn't seem to trigger if not specifically scrolling to a target element?
scrolledToElementNumber
The solution if of course simple:
$('.scrollWrapper').on("scroll", function() { ... });
I'm missing a callback that tells me which element I'm at during scrolling and to what % I've proceeded to the next element.
scrolledToElementNumber
doesn't seem to trigger if not specifically scrolling to a target element?