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
>
(
sendTo
,
pages
,
config
?
)
:
Pagination
<
T
>
Type Parameters
T
extends
PaginationResolver
<
Resolver
>
=
PaginationResolver
<
Resolver
>
Parameters
sendTo
:
PaginationSendTo
pages
:
T
|
PaginationItem
[]
Optional
config
:
PaginationOptions
Returns
Pagination
<
T
>
Properties
Optional
collector
collector
?:
InteractionCollector
<
ButtonInteraction
<
CacheType
>
|
StringSelectMenuInteraction
<
CacheType
>
>
current
Page
current
Page
:
number
max
Length
max
Length
:
number
Optional
message
message
?:
Message
<
boolean
>
option
option
:
PaginationOptions
pages
pages
:
T
|
PaginationItem
[]
send
To
send
To
:
PaginationSendTo
Accessors
is
Sent
get
isSent
(
)
:
boolean
Returns
boolean
Methods
get
Page
get
Page
(
page
)
:
Promise
<
null
|
IGeneratePage
>
Get page
Parameters
page
:
number
Returns
Promise
<
null
|
IGeneratePage
>
send
send
(
)
:
Promise
<
{
collector
:
InteractionCollector
<
ButtonInteraction
<
CacheType
>
|
StringSelectMenuInteraction
<
CacheType
>
>
;
message
:
Message
<
boolean
>
;
}
>
Send pagination
Returns
Promise
<
{
collector
:
InteractionCollector
<
ButtonInteraction
<
CacheType
>
|
StringSelectMenuInteraction
<
CacheType
>
>
;
message
:
Message
<
boolean
>
;
}
>
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