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.
Incorporating DOM events is beyond the scope of the paginator. On the other hand, it shouldn't be hard to respond to the browser's scroll events and the execute the relevant methods on the paginator.
A pseudo-infinite loading already exist with "Show More" on http://addyosmani.github.com/backbone.paginator/examples/netflix-infinite-paging/index.html. It would be nice to have a scroll-based infinite loading where next page's content are fetched and loading when scrolling reaches near the bottom of the page.
Similar to http://backbonetutorials.com/infinite-scrolling/ (demo: http://backbonetutorials.com/examples/infinite-scroll/), but the source code is available for download: https://github.com/thomasdavis/backbonetutorials/zipball/gh-pages. A collection already exist here: https://github.com/joneath/infiniScroll.js/blob/master/lib/infiniScroll.js that is open sourced under MIT license. Is there a way to apply infiniScroll.js to Backbone Paginator in its current state?
It would be great to be able to apply infinite scrolling to a div or body and be able to have multiple instances on the same page. The body needs CSS of overflow:scroll; and maybe even fixed/specified height. More info: http://stackoverflow.com/questions/7634529/backbone-js-detecting-scroll-event.
The text was updated successfully, but these errors were encountered: