You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 4, 2021. It is now read-only.
In infinite mode, there's a fullCollection inside your collection which serves as a container for the already fetched models, but only the current page is in the collection models array.
If you're after infinite scroll or something akin to this, without a need for paging, I made an infinite collection inspired by the API of this lib.
@turkus Backbone.paginator is not meant to be used this way and the pagination behavior is too deeply ingrained in the collection to work around it. You'd better be implementing your own collection. See issue #344
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In infinite mode on
collection.getNextPage
instead of models being add to the collection, the collection resets with the models from the current page.Here is my collection code.
here is a preview from the json response from my Rails API
The text was updated successfully, but these errors were encountered: