InfinityCustomMixin Class
A custom overlay on ember-infinity that supports loading infinite and paginated relationships For the most part, the API and semantics are identical to ember infinity, except that the means of configuring the store find method is more flexible (supporting relationship queries that do not operate via store methods)
Methods
_requestNextPage
()
Promise
private
request the next page from the adapter
Returns:
Promise:
A Promise that resolves the next page of objects
infinityModel
(
Promise
-
modelName
-
options
-
boundParams
Use the infinityModel method in the place of this.store.find('model')
to
initialize the Infinity Model for your route.
Parameters:
Returns:
Properties
_storeFindMethod
Function
Repurpose an ember-infinity hook to override the method used for queries
Default: this.store.query