@minecraft/server-editor
Preparing search index...
ModalDialogActivationParams
Type Alias ModalDialogActivationParams<T>
Beta
ModalDialogActivationParams
:
{
dialogId
:
T
;
onResponse
?:
(
payload
:
|
(
T
extends
CoreModalDialogType
?
ModalDialogCoreResponseType
[
T
]
:
ModalDialogCustomResponse
)
|
ModalDialogDismissResponse
,
)
=>
void
;
}
&
(
T
extends
CoreModalDialogType
?
{
data
:
ModalDialogRequestData
[
T
]
}
:
{
data
?:
never
}
)
Parameters required to activate a modal dialog instance
Type Parameters
T
extends
CoreModalDialogType
|
string
Settings
Member Visibility
Protected
Inherited
External
World Mutation
Not Early Execution
Theme
OS
Light
Dark
@minecraft/server-editor
Loading...
Parameters required to activate a modal dialog instance