Preparing search index...
The search index is not available
Ⓙ Jike SDK
Ⓙ Jike SDK
index
PaginatedOption
Interface PaginatedOption<T, L, K>
interface
PaginatedOption
<
T
,
L
,
K
>
{
lastKey
?:
K
;
limit
?:
LimitFn
<
"total"
|
L
,
T
>
;
onDone
?:
(
(
totalPage
,
key
,
data
)
=>
undefined
|
boolean
)
;
onNextPage
?:
(
(
currentPage
,
key
,
data
)
=>
unknown
)
;
}
Type Parameters
T
L
extends
keyof
LimitOptionAll
=
keyof
LimitOptionAll
K
=
unknown
Index
Properties
last
Key?
limit?
on
Done?
on
Next
Page?
Properties
Optional
last
Key
last
Key
?:
K
上一页的 key
Optional
limit
limit
?:
LimitFn
<
"total"
|
L
,
T
>
Returns
true
: 继续下一页;
false
: 停止获取
Optional
on
Done
on
Done
?:
(
(
totalPage
,
key
,
data
)
=>
undefined
|
boolean
)
当结束时触发
Type declaration
(
totalPage
,
key
,
data
)
:
undefined
|
boolean
Parameters
totalPage
:
number
key
:
undefined
|
K
data
:
T
[]
Returns
undefined
|
boolean
Returns
false
: 将停止获取下一页
Optional
on
Next
Page
on
Next
Page
?:
(
(
currentPage
,
key
,
data
)
=>
unknown
)
当获取下一页时触发
Type declaration
(
currentPage
,
key
,
data
)
:
unknown
Parameters
currentPage
:
number
key
:
undefined
|
K
data
:
T
[]
Returns
unknown
Returns
false
: 将停止获取下一页
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
last
Key
limit
on
Done
on
Next
Page
Ⓙ Jike SDK
Loading...
上一页的 key