Paginator
Sourceimport { Paginator } from "@prestojs/util";
Paginator<State,InternalState>
Hierarchy
Constructor
Methods
Arguments:
| Argument | Type | Description | |
|---|---|---|---|
| * | options An object with the properties below | ||
| options.headers | HeadersInit|Record | ||
| options.query | Record | ||
| options.urlArgs | Record | ||
| ... | any | Any properties from RequestInit except for these:
| |
Returns:
| An object with these properties: | |||
|---|---|---|---|
| Property | Type | Description | |
| headers | HeadersInit|Record | ||
| query | Record | ||
| urlArgs | Record | ||
| ... | any | Any properties from RequestInit except for these:
| |
Returns:void
Properties
currentState
SourceinternalState
Source| An object with these properties: | |||
|---|---|---|---|
| Property | Type | Description | |
| responseIsSet | boolean | ||
| ... | any | Any properties from InternalState | |