Skip to main content

ShowMessage

Description

Displays a modal message box.

Syntax

// shellFrame points to instance of IShellFrame
const result = await shellFrame.ShowMessage(message);

Parameters

NameTypeDescription
messagestring | ShowMessageParamsString Type - The message to display. The message box contains single Ok button.
Object - Defines the message box content and buttons. Defines the message box content and buttons.

Return type

TypeDescription
Promise <ShowMessageReturnValue>Interface to indicate if checkbox was selected and which button was clicked.