PageNumberPaginator
Sourceimport { PageNumberPaginator } from "@prestojs/util";
Hierarchy
- Paginator<,>
- PageNumberPaginator
Constructor
Methods
Returns:void
Returns:
An object with these properties: | |||
---|---|---|---|
Property | Type | Description | |
page | string|number | ||
pageSize | string|number |
Returns:
An object with these properties: | |||
---|---|---|---|
Property | Type | Description | |
body | null|BodyInit | ||
cache | RequestCache | ||
credentials | RequestCredentials | ||
headers | HeadersInit|Record | ||
integrity | string | ||
keepalive | boolean | ||
method | string | ||
mode | RequestMode | ||
query | Record | ||
redirect | RequestRedirect | ||
referrer | string | ||
referrerPolicy | ReferrerPolicy | ||
signal | null|AbortSignal | ||
urlArgs | Record | ||
window | null |
Returns:boolean
Returns:boolean
Returns:void
Returns:null|
An object with these properties: | |||
---|---|---|---|
Property | Type | Description | |
page | string|number | ||
pageSize | string|number |
Returns:void
Returns:
An object with these properties: | |||
---|---|---|---|
Property | Type | Description | |
page | string|number | ||
pageSize | string|number |
Returns:
An object with these properties: | |||
---|---|---|---|
Property | Type | Description | |
page | string|number | ||
pageSize | string|number |
Returns:
An object with these properties: | |||
---|---|---|---|
Property | Type | Description | |
page | string|number | ||
pageSize | string|number |
Returns:void
Returns:
An object with these properties: | |||
---|---|---|---|
Property | Type | Description | |
page | string|number | ||
pageSize | string|number |
Returns:void
Properties
currentState
SourceAn object with these properties: | |||
---|---|---|---|
Property | Type | Description | |
page | string|number | ||
pageSize | string|number |
internalState
SourceAn object with these properties: | |||
---|---|---|---|
Property | Type | Description | |
responseIsSet | boolean | ||
total | number|null |
Static Methods
Arguments:
Argument | Type | Description | |
---|---|---|---|
* | requestDetails An object with the properties below | ||
requestDetails.decodedBody | any | ||
requestDetails.query | Record | ||
requestDetails.response | Response | ||
* | requestDetails.url | string | |
requestDetails.urlArgs | Record |
Returns:false|Record