openMessageBox Method
Output a MessageBox and wait for response from the user.
openMessageBox(mbType: MessageBoxType, message: HTMLElement | string, icon: MessageBoxIconType): Promise<MessageBoxValue>
Parameter | Type | Description |
---|---|---|
mbType | MessageBoxType | The MessageBox type. |
HTMLElement | string | The message to display. | |
icon | MessageBoxIconType | The MessageBox icon type. |
Returns - the response from the user.
Defined in
Last Updated: 08 January, 2020