Preparing search index...
The search index is not available
@discordx/pagination
@discordx/pagination
Pagination
Class Pagination<T>
Type Parameters
T
extends
PaginationResolver
=
PaginationResolver
Index
Constructors
constructor
Properties
collector?
current
Page
max
Length
message?
option
pages
send
To
Accessors
is
Sent
Methods
get
Page
send
Constructors
constructor
new
Pagination
<
T
extends
PaginationResolver
=
PaginationResolver
>
(
sendTo
:
PaginationSendTo
,
pages
:
T
|
PaginationItem
[]
,
config
?:
PaginationOptions
,
)
:
Pagination
<
T
>
Type Parameters
T
extends
PaginationResolver
=
PaginationResolver
Parameters
sendTo
:
PaginationSendTo
pages
:
T
|
PaginationItem
[]
Optional
config
:
PaginationOptions
Returns
Pagination
<
T
>
Properties
Optional
collector
collector
?:
InteractionCollector
<
ButtonInteraction
|
StringSelectMenuInteraction
,
>
current
Page
currentPage
:
number
max
Length
maxLength
:
number
Optional
message
message
?:
Message
option
option
:
PaginationOptions
pages
pages
:
T
|
PaginationItem
[]
send
To
sendTo
:
PaginationSendTo
Accessors
is
Sent
get
isSent
()
:
boolean
Returns
boolean
Methods
get
Page
getPage
(
page
:
number
)
:
Promise
<
null
|
IGeneratePage
>
Get page
Parameters
page
:
number
Returns
Promise
<
null
|
IGeneratePage
>
send
send
()
:
Promise
<
{
collector
:
InteractionCollector
<
ButtonInteraction
|
StringSelectMenuInteraction
,
>
;
message
:
Message
;
}
,
>
Send pagination
Returns
Promise
<
{
collector
:
InteractionCollector
<
ButtonInteraction
|
StringSelectMenuInteraction
,
>
;
message
:
Message
;
}
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
collector
current
Page
max
Length
message
option
pages
send
To
Accessors
is
Sent
Methods
get
Page
send
@discordx/pagination
Loading...
Get page