Interface InfinitePaginationContentFeatures<RT>
interface InfinitePaginationContentFeatures<RT> extends SharedPaginationContentFeatures<RT> {
abort?: () => void;
isHidden: boolean;
isNavigating: boolean;
isOnline: boolean;
isRefreshing: boolean;
latestRequest?: Future<RT>;
loadNext: () => Promise<RT | null>;
loadPrev: () => Promise<RT | null>;
refresh: () => Promise<void>;
reload: () => Promise<void>;
}The content features yielded in 'infinite' mode: navigation happens by extending the loaded run at either end.
Extends
Type Parameters
RT
RT
Properties
abort?
optional abort?: () => void;Returns
void
Inherited from
SharedPaginationContentFeatures.abort
isHidden
isHidden: boolean;Inherited from
SharedPaginationContentFeatures.isHidden
isNavigating
isNavigating: boolean;Whether a changed @request arg is currently resolving against the loaded collection — e.g. a route-driven navigation (browser back button). The existing content stays rendered while this is true; once the request resolves it either becomes the active page (same collection) or the component resets to the new collection.
Inherited from
SharedPaginationContentFeatures.isNavigating
isOnline
isOnline: boolean;Inherited from
SharedPaginationContentFeatures.isOnline
isRefreshing
isRefreshing: boolean;Inherited from
SharedPaginationContentFeatures.isRefreshing
latestRequest?
optional latestRequest?: Future<RT>;Inherited from
SharedPaginationContentFeatures.latestRequest
loadNext
loadNext: () => Promise<RT | null>;Returns
Promise<RT | null>
loadPrev
loadPrev: () => Promise<RT | null>;Returns
Promise<RT | null>
refresh
refresh: () => Promise<void>;Returns
Promise<void>
Inherited from
SharedPaginationContentFeatures.refresh
reload
reload: () => Promise<void>;Returns
Promise<void>