javascript - How do you limit results from a findAll in ember.js? -
my api takes query parameters such "page". limit number items sent over. realize can filter these ember once they've been retrieved, want app scale. means can't receiving large amounts of data on wire findall does. how go doing in ember? should put custom ajax? still use of features ember has ability watch models.
this sounds want pagination support, lamentably feature still not implemented in ember core. folks have created pagination support work ember, 1 example toran billups, have here: https://github.com/toranb/ember-pagination-example. have here answer explaining it's implementation: ember pagination full example
hope helps.
Comments
Post a Comment