Search
Preparing search index...
The search index is not available
Detritus Client
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Detritus Client
utils/components/actionrow
ComponentActionRow
Class ComponentActionRow
Utils Component Action Row Structure
Hierarchy
Structure
ComponentActionRow
Index
Constructors
constructor
Properties
_keys
components
type
Accessors
has
Button
has
Run
has
Select
Menu
is
Empty
is
Full
Methods
[custom]
_get
From
Snake
_set
From
Snake
add
Button
add
Component
add
Select
Menu
create
Button
create
Select
Menu
difference
differences
differences
Between
has
Difference
has
Differences
has
Differences
Between
merge
merge
Value
toJSON
Constructors
constructor
new
Component
Action
Row
(
data
?:
ComponentActionRowData
)
:
ComponentActionRow
Parameters
data:
ComponentActionRowData
= {}
Returns
ComponentActionRow
Properties
Readonly
_keys
_keys
:
BaseSet
<
string
>
= ...
components
components
:
(
ComponentButton
|
ComponentSelectMenu
)
[]
= []
type
type
:
MessageComponentTypes
= ...
Accessors
has
Button
get
hasButton
(
)
:
boolean
Returns
boolean
has
Run
get
hasRun
(
)
:
boolean
Returns
boolean
has
Select
Menu
get
hasSelectMenu
(
)
:
boolean
Returns
boolean
is
Empty
get
isEmpty
(
)
:
boolean
Returns
boolean
is
Full
get
isFull
(
)
:
boolean
Returns
boolean
Methods
[custom]
[custom]
(
)
:
object
Returns
object
_get
From
Snake
_get
From
Snake
(
key
:
string
)
:
any
Parameters
key:
string
Returns
any
_set
From
Snake
_set
From
Snake
(
key
:
string
, value
:
any
)
:
any
Parameters
key:
string
value:
any
Returns
any
add
Button
add
Button
(
data
?:
ComponentActionData
|
ComponentButton
)
:
ComponentActionRow
Parameters
data:
ComponentActionData
|
ComponentButton
= {}
Returns
ComponentActionRow
add
Component
add
Component
(
component
:
ComponentButton
|
ComponentSelectMenu
)
:
ComponentActionRow
Parameters
component:
ComponentButton
|
ComponentSelectMenu
Returns
ComponentActionRow
add
Select
Menu
add
Select
Menu
(
data
?:
ComponentActionData
|
ComponentSelectMenu
)
:
ComponentActionRow
Parameters
data:
ComponentActionData
|
ComponentSelectMenu
= {}
Returns
ComponentActionRow
create
Button
create
Button
(
data
?:
ComponentActionData
)
:
ComponentButton
Parameters
data:
ComponentActionData
= {}
Returns
ComponentButton
create
Select
Menu
create
Select
Menu
(
data
?:
ComponentActionData
)
:
ComponentSelectMenu
Parameters
data:
ComponentActionData
= {}
Returns
ComponentSelectMenu
difference
difference
(
key
:
string
, value
:
any
)
:
[
boolean
,
any
]
Parameters
key:
string
value:
any
Returns
[
boolean
,
any
]
differences
differences
(
data
?:
BaseStructureData
)
:
null
|
object
Parameters
Optional
data:
BaseStructureData
Returns
null
|
object
differences
Between
differences
Between
(
structure
:
Structure
)
:
null
|
object
Parameters
structure:
Structure
Returns
null
|
object
has
Difference
has
Difference
(
key
:
string
, value
:
any
)
:
boolean
Parameters
key:
string
value:
any
Returns
boolean
has
Differences
has
Differences
(
data
?:
BaseStructureData
)
:
boolean
Parameters
Optional
data:
BaseStructureData
Returns
boolean
has
Differences
Between
has
Differences
Between
(
structure
:
Structure
)
:
boolean
Parameters
structure:
Structure
Returns
boolean
merge
merge
(
data
?:
BaseStructureData
)
:
void
Parameters
Optional
data:
BaseStructureData
Returns
void
merge
Value
merge
Value
(
key
:
string
, value
:
any
)
:
void
Parameters
key:
string
value:
any
Returns
void
toJSON
toJSON
(
)
:
RawChannelMessageComponent
Returns
RawChannelMessageComponent
Exports
utils/components/actionrow
Component
Action
Row
constructor
_keys
components
type
has
Button
has
Run
has
Select
Menu
is
Empty
is
Full
[custom]
_get
From
Snake
_set
From
Snake
add
Button
add
Component
add
Select
Menu
create
Button
create
Select
Menu
difference
differences
differences
Between
has
Difference
has
Differences
has
Differences
Between
merge
merge
Value
toJSON
Component
Action
Row
Data
Generated using
TypeDoc
Utils Component Action Row Structure