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/selectmenu
ComponentSelectMenu
Class ComponentSelectMenu
Utils Component Select Menu Structure
Hierarchy
ComponentActionBase
ComponentSelectMenu
Index
Constructors
constructor
Properties
_keys
custom
Id
max
Values
min
Values
options
placeholder
type
Methods
[custom]
_get
From
Snake
_set
From
Snake
add
Option
create
Option
difference
differences
differences
Between
has
Difference
has
Differences
has
Differences
Between
merge
merge
Value
on
Error
run
set
Custom
Id
set
Max
Values
set
Min
Values
set
Placeholder
toJSON
Constructors
constructor
new
Component
Select
Menu
(
data
?:
ComponentActionData
)
:
ComponentSelectMenu
Parameters
data:
ComponentActionData
= {}
Returns
ComponentSelectMenu
Properties
Readonly
_keys
_keys
:
BaseSet
<
string
>
= ...
custom
Id
custom
Id
:
string
= ''
Optional
max
Values
max
Values
:
null
|
number
Optional
min
Values
min
Values
:
null
|
number
options
options
:
ComponentSelectMenuOption
[]
= []
Optional
placeholder
placeholder
:
null
|
string
type
type
:
MessageComponentTypes
= ...
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
Option
add
Option
(
option
:
ComponentSelectMenuOption
)
:
ComponentSelectMenu
Parameters
option:
ComponentSelectMenuOption
Returns
ComponentSelectMenu
create
Option
create
Option
(
data
?:
ComponentSelectMenuOptionData
)
:
ComponentSelectMenuOption
Parameters
data:
ComponentSelectMenuOptionData
= {}
Returns
ComponentSelectMenuOption
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
Optional
on
Error
on
Error
(
context
:
ComponentContext
, error
:
Error
)
:
any
Parameters
context:
ComponentContext
error:
Error
Returns
any
Optional
run
run
(
context
:
ComponentContext
)
:
any
Parameters
context:
ComponentContext
Returns
any
set
Custom
Id
set
Custom
Id
(
customId
:
string
)
:
ComponentSelectMenu
Parameters
customId:
string
Returns
ComponentSelectMenu
set
Max
Values
set
Max
Values
(
maxValues
:
null
|
number
)
:
ComponentSelectMenu
Parameters
maxValues:
null
|
number
Returns
ComponentSelectMenu
set
Min
Values
set
Min
Values
(
minValues
:
null
|
number
)
:
ComponentSelectMenu
Parameters
minValues:
null
|
number
Returns
ComponentSelectMenu
set
Placeholder
set
Placeholder
(
placeholder
:
null
|
string
)
:
ComponentSelectMenu
Parameters
placeholder:
null
|
string
Returns
ComponentSelectMenu
toJSON
toJSON
(
)
:
RawChannelMessageComponent
Returns
RawChannelMessageComponent
Exports
utils/components/selectmenu
Component
Select
Menu
constructor
_keys
custom
Id
max
Values
min
Values
options
placeholder
type
[custom]
_get
From
Snake
_set
From
Snake
add
Option
create
Option
difference
differences
differences
Between
has
Difference
has
Differences
has
Differences
Between
merge
merge
Value
on
Error
run
set
Custom
Id
set
Max
Values
set
Min
Values
set
Placeholder
toJSON
Component
Select
Menu
Option
Component
Select
Menu
Option
Data
Generated using
TypeDoc
Utils Component Select Menu Structure