openMessageBox Method
Output a MessageBox and wait for response from the user.
openMessageBox(mbType: MessageBoxType, message: string | HTMLElement, icon: MessageBoxIconType): Promise<MessageBoxValue>
@returns the response from the user.
Parameter | Type | Description |
---|---|---|
mbType | MessageBoxType | The MessageBox type. |
string | HTMLElement | The message to display. | |
icon | MessageBoxIconType | The MessageBox icon type. |
Returns - Promise<MessageBoxValue>
the response from the user.
Defined in
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.