Backbone.Paginator is a pagination component for Backbone.js.
Pagination is a ubiquitous problem we often find ourselves needing to solve on the web.
Perhaps most predominantly when working with back-end APIs and JavaScript-heavy clients which consume them.
Paginator’s pieces
Backbone.Paginator
supports two main pagination components:
Backbone.Paginator.requestPager
: For pagination of requests between a client and a server-side APIBackbone.Paginator.clientPager
: For pagination of data returned from a server which you would like to further paginate within the UI (e.g 60 results are returned, paginate into 3 pages of 20)