Skip to content

gyllstromk/ember-pageable-mixin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

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}}

About

Mixin for Ember array types, supporting pagination.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published