PaginatedRouteMixin Class
Route mixin to support fetching paginated results
Because this uses query parameters, it should be used in tandem with PaginatedControllerMixin
Methods
queryForPage
(
Promise
-
modelName
-
routeParams
-
userParams
Fetch a route-specified page of results from an external API
To use this argument, pass the params from the model hook as the first argument.
model(routeParams) {
return this.queryForPage('user', routeParams);
}