Skip to main content

Function: withPagination()

Call Signature

withPagination<E, Collection>(options): SignalStoreFeature<EmptyFeatureResult & object, { methods: NamedPaginationServiceMethods<Collection>; props: NamedPaginationServiceSignals<E, Collection>; state: NamedPaginationServiceState<E, Collection>; }>

Defined in: libs/ngrx-toolkit/src/lib/with-pagination.ts:118

Type Parameters

E

Collection extends string

Parameters

options

collection

Collection

entity

E

Returns

SignalStoreFeature<EmptyFeatureResult & object, { methods: NamedPaginationServiceMethods<Collection>; props: NamedPaginationServiceSignals<E, Collection>; state: NamedPaginationServiceState<E, Collection>; }>

Call Signature

withPagination<E>(): SignalStoreFeature<EmptyFeatureResult & object, { methods: PaginationServiceMethods; props: PaginationServiceSignals<E>; state: PaginationServiceState<E>; }>

Defined in: libs/ngrx-toolkit/src/lib/with-pagination.ts:130

Type Parameters

E

Returns

SignalStoreFeature<EmptyFeatureResult & object, { methods: PaginationServiceMethods; props: PaginationServiceSignals<E>; state: PaginationServiceState<E>; }>