ENH: Support table pagination (#24)

Fixes #22
This commit is contained in:
Matthew Ryan Dillon 2017-09-23 14:35:50 -07:00 committed by GitHub
parent 8309486a8a
commit 578b8daa32
11 changed files with 131 additions and 8 deletions

View file

@ -0,0 +1,14 @@
import Ember from 'ember';
const { Controller } = Ember;
export default Controller.extend({
queryParams: ['page'],
page: 1,
actions: {
changePage(page) {
this.set('page', page);
},
},
});