Skip to content
module@warp-drive/experiments/pagination @experimental

Interface SharedPaginationContentFeatures<RT> ​

ts
interface SharedPaginationContentFeatures<RT> {
  abort?: () => void;
  isHidden: boolean;
  isNavigating: boolean;
  isOnline: boolean;
  isRefreshing: boolean;
  latestRequest?: Future<RT>;
  refresh: () => Promise<void>;
  reload: () => Promise<void>;
}

Defined in: warp-drive-packages/core/src/signals/pagination-subscription.ts:24

The content features available in both pagination modes: the state and controls of the initial request.

Extended by ​

Type Parameters ​

RT ​

RT

Properties ​

abort? ​

ts
abort?: () => void;

Defined in: warp-drive-packages/core/src/signals/pagination-subscription.ts:38

Returns ​

void


isHidden ​

ts
isHidden: boolean;

Defined in: warp-drive-packages/core/src/signals/pagination-subscription.ts:26


isNavigating ​

ts
isNavigating: boolean;

Defined in: warp-drive-packages/core/src/signals/pagination-subscription.ts:35

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.


isOnline ​

ts
isOnline: boolean;

Defined in: warp-drive-packages/core/src/signals/pagination-subscription.ts:25


isRefreshing ​

ts
isRefreshing: boolean;

Defined in: warp-drive-packages/core/src/signals/pagination-subscription.ts:27


latestRequest? ​

ts
latestRequest?: Future<RT>;

Defined in: warp-drive-packages/core/src/signals/pagination-subscription.ts:39


refresh ​

ts
refresh: () => Promise<void>;

Defined in: warp-drive-packages/core/src/signals/pagination-subscription.ts:36

Returns ​

Promise<void>


reload ​

ts
reload: () => Promise<void>;

Defined in: warp-drive-packages/core/src/signals/pagination-subscription.ts:37

Returns ​

Promise<void>

Released under the MIT License.