Documentation
On this page

Function · Desktop Services

showMessageDialog

Displays a native message dialog.

@sharpts/gui 0.0.0-local · SharpTS 7c6010104a43

Signature

TypeScript
showMessageDialog(options: MessageDialogOptions): Promise<MessageDialogResult>

Parameters

NameTypeDescription
optionsMessageDialogOptionsTitle, message, and button-set options.

Returns

Promise<MessageDialogResult> — The button selected by the user.

Source

SharpTS.Gui.Sdk/GuiPackage/runtime.ts:1389 at SharpTS revision 7c6010104a43c34d80e9d44704cf179bc4f5b8e0.