GitXplorerGitXplorer
g

ember-pageable-mixin

public
3 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
75dab67511f2089051f456cde8f76972c3af33ed

reset to page 0 on content change

ggyllstromk committed 12 years ago
Unverified
120a8773c1dc7aff5649353b704ca2c860cf8243

don't observe content.@each because that's a performance nightmare. instead, listen for content changes that would affect the items in the current page

ggyllstromk committed 12 years ago
Unverified
29b59f63b18f6ed2980f6103682cb724a7abaa13

Merge branch 'release/0.0.1'

ggyllstromk committed 12 years ago
Unverified
65f344a9678964d674a09edfbbf3fb5aa7b3f1aa

initial commit

ggyllstromk committed 12 years ago
Unverified
e8f547b6903e3494becfd4a4c3e5cfdff2816121

Initial commit

ggyllstromk committed 12 years ago

README

The README file for this repository.

Ember.PageableMixin

Provides interface for pagination over Ember ArrayController data:

App.myController = Ember.ArrayController.create(Ember.PageableMixin);

// add content

// initialize page settings
App.myController.set('pageNumber', 2);
App.myController.set('pageSize', 10);
{{#each item in myController}}
    <!-- only iterates over values in page 2 of collection, i.e. values from index 20 to 30 -->
{{/each}}