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

Interface PagedPaginationContentFeatures<RT>

ts
interface PagedPaginationContentFeatures<RT> extends SharedPaginationContentFeatures<RT> {
  abort?: () => void;
  isHidden: boolean;
  isNavigating: boolean;
  isOnline: boolean;
  isRefreshing: boolean;
  latestRequest?: Future<RT>;
  loadPage: (url: string) => Promise<RT | null>;
  refresh: () => Promise<void>;
  reload: () => Promise<void>;
}

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

The content features yielded in 'paged' mode: navigation happens by loading a specific page.

Extends

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

Inherited from

SharedPaginationContentFeatures.abort


isHidden

ts
isHidden: boolean;

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

Inherited from

SharedPaginationContentFeatures.isHidden


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.

Inherited from

SharedPaginationContentFeatures.isNavigating


isOnline

ts
isOnline: boolean;

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

Inherited from

SharedPaginationContentFeatures.isOnline


isRefreshing

ts
isRefreshing: boolean;

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

Inherited from

SharedPaginationContentFeatures.isRefreshing


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

Inherited from

SharedPaginationContentFeatures.latestRequest


loadPage

ts
loadPage: (url: string) => Promise<RT | null>;

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

Parameters

url

string

Returns

Promise<RT | null>


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>

Inherited from

SharedPaginationContentFeatures.refresh


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>

Inherited from

SharedPaginationContentFeatures.reload

Released under the MIT License.