API Documentation / @pinia/colada / UseInfiniteQueryLoadMoreOptions
Interface: UseInfiniteQueryLoadMoreOptions
Options for UseInfiniteQueryReturn.loadNextPage and UseInfiniteQueryReturn.loadPreviousPage.
Properties
cancelRefetch?
ts
optional cancelRefetch: boolean;Whether to cancel an ongoing refetch when a new one is triggered. If set to false, a new load will be ignored if there's already one in progress.
Default
ts
truethrowOnError?
ts
optional throwOnError: boolean;Whether to throw an error if the fetch fails.
Default
ts
false