Hacker News new | comments | show | ask | jobs | submit login
Backbone.Paginator – New Pagination Components For Backbone.js (addyosmani.com)
53 points by bmaeser 2004 days ago | hide | past | web | 8 comments | favorite



?skip=N in the API is inefficient — from yesterday's discussion on infinite scrolling: https://news.ycombinator.com/item?id=3764518 https://news.ycombinator.com/item?id=3765665


Quick bug report for ya. If you visit the "clientPager" demo, and navigate to any page but the first, before clicking on "show 9", or "show 12", it will break.

http://addyosmani.github.com/backbone.paginator/examples/net...


I wrote something similar to this, but I use pushState so that it can be bookmarked. It creates some ugly urls, but it works.

Have you considered using pushState to achieve the same purpose?


I wrote a simple Backbone module to add infinite scrolling to any view a few months back (https://github.com/joneath/infiniScroll.js).

It's good to see a classic paginator implementation though. I will take a look at the source later. Thanks for sharing.


Seems like this one does both.


very very useful. Was just about to write my own code for this, but now gonna look into using this. Thanks for considering all major variations of pagination.


The live examples aren't working. Is it just me?


yes. Working for me.




Applications are open for YC Winter 2018

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: