Skip to content

guilleferrer/backbonePaginator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Backbone Paginator

Requirements :

jQuery Backbone

Usage:

In your DOM you need a paginator element ( with the class paginator )

<div class="paginator">
    <div id="moveleft"></div>
    <div id="moveright"></div>
</div>
// create a collection
var  myCollection = Backbone.Collection.extend();
...
// add a paginator to this collection
var paginator = PaginatorView.extend({ collection: myCollection });

In the server side:

You need to handle the parameter 'page_offset' ( that depends on your server side implementation )

About

It creates a paginator for a collection.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published