We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello! Is there a way to disable / re-enable smartscroll when content is pulled in dynamically?
Do you have any knowledge of ajax/dynamic use cases? i.e. pulling in a page that uses smartscroll?
Thanks!
The text was updated successfully, but these errors were encountered:
Do you have a more solid example?
Smartscroll works by binding functions to window, so the most naive way is simply to unbind all the window events.
window
$(window).unbind();
But this might affect other libraries you're using. So you might have to run this before other libraries are ran.
To re-enable smartscroll, just run the initialisation script again.
$.smartscroll(options);
Sorry, something went wrong.
No branches or pull requests
Hello! Is there a way to disable / re-enable smartscroll when content is pulled in dynamically?
Do you have any knowledge of ajax/dynamic use cases? i.e. pulling in a page that uses smartscroll?
Thanks!
The text was updated successfully, but these errors were encountered: