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
I am trying to implement some simple infinite scroll. However the newer version seems to be missing something the older version had.
infiniteScroll() { const interval = 5; let size = $(this.firstNode()).parent().innerHeight(); let item = this.$(this.find('.list #list-content')).outerHeight(); let pageLimit = Math.ceil(((size / item) / interval)) * interval; // nearest 5 let numberLoaded = this.index.getComponentDict().get('currentCount'); this.index.getComponentMethods().loadMore(pageLimit - numberLoaded); }
Is there an easier way to do this? If not, want a PR to add it?
The text was updated successfully, but these errors were encountered:
yeah sure, I think a parameter on the LoadMore button might be the way to go.
{{> EasySearch.LoadMore infiniteScroll=true }}, maybe?
{{> EasySearch.LoadMore infiniteScroll=true }}
Sorry, something went wrong.
Up, would be very useful ^^
Feel free to add PR's if you want to contribute to this package.
No branches or pull requests
I am trying to implement some simple infinite scroll. However the newer version seems to be missing something the older version had.
Is there an easier way to do this? If not, want a PR to add it?
The text was updated successfully, but these errors were encountered: