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: node_modules/.pnpm/@warp-d_5e1563e0e582c8365bb74466d3761d6d/node_modules/@warp-drive/core/dist/signals/-leaked.d.ts:757

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
optional abort?: () => void;

Defined in: node_modules/.pnpm/@warp-d_5e1563e0e582c8365bb74466d3761d6d/node_modules/@warp-drive/core/dist/signals/-leaked.d.ts:771

Returns

void


isHidden

ts
isHidden: boolean;

Defined in: node_modules/.pnpm/@warp-d_5e1563e0e582c8365bb74466d3761d6d/node_modules/@warp-drive/core/dist/signals/-leaked.d.ts:759


isNavigating

ts
isNavigating: boolean;

Defined in: node_modules/.pnpm/@warp-d_5e1563e0e582c8365bb74466d3761d6d/node_modules/@warp-drive/core/dist/signals/-leaked.d.ts:768

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: node_modules/.pnpm/@warp-d_5e1563e0e582c8365bb74466d3761d6d/node_modules/@warp-drive/core/dist/signals/-leaked.d.ts:758


isRefreshing

ts
isRefreshing: boolean;

Defined in: node_modules/.pnpm/@warp-d_5e1563e0e582c8365bb74466d3761d6d/node_modules/@warp-drive/core/dist/signals/-leaked.d.ts:760


latestRequest?

ts
optional latestRequest?: Future<RT>;

Defined in: node_modules/.pnpm/@warp-d_5e1563e0e582c8365bb74466d3761d6d/node_modules/@warp-drive/core/dist/signals/-leaked.d.ts:772


refresh

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

Defined in: node_modules/.pnpm/@warp-d_5e1563e0e582c8365bb74466d3761d6d/node_modules/@warp-drive/core/dist/signals/-leaked.d.ts:769

Returns

Promise<void>


reload

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

Defined in: node_modules/.pnpm/@warp-d_5e1563e0e582c8365bb74466d3761d6d/node_modules/@warp-drive/core/dist/signals/-leaked.d.ts:770

Returns

Promise<void>

Released under the MIT License.