how to destroy/recreate endless scroll. #33

JackieManuja opened this Issue Sep 11, 2012 · 1 comment

2 participants


how we can destroy/recreate endless scroll at certain activity/condition in the page with resetting everything like fireSequence /pageSequence along with attributes.


EndlessScroll listens the scroll event and executes a function periodically, so you just need to remove the binding and clear the interval.

The constructor returns the pointer to the interval.

var interval;

// Destroy EndlessScroll
if (interval) {

interval = $('#element').endlessScroll();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment