Skip to content

accept()

Accept action to perform on dialogs

prompt('Message', async () => await accept('Something'))
prompt('Message', async () => await accept())
NameTypeDescription
textstringExpected text of the dialog (optional) Default: "".
TypeDescription
Promise<void>Resolves when dialog is accepted