Table of Contents

Documentation / dialogs/Dialogs

dialogs/Dialogs

Classes

Dialogs

Represents an implementation of IDialogs.

Extends

Constructors

new Dialogs()

new Dialogs(_dialogMediatorHandler): Dialogs

Initializes a new instance of the Dialogs class.

Parameters
_dialogMediatorHandler

IDialogMediatorHandler

Returns

Dialogs

Overrides

IDialogs.constructor

Defined in

Source/JavaScript/Applications.React.MVVM/dialogs/Dialogs.ts:20

Methods

show()

show<TInput, TOutput>(input): Promise<TOutput>

Show a dialog in the context of the current view and view model. This requires the view to host the dialog.

Type Parameters

TInput extends object

TOutput

Parameters
input

TInput

The input to pass to the dialog.

Returns

Promise<TOutput>

The output from the dialog.

Overrides

IDialogs.show

Defined in

Source/JavaScript/Applications.React.MVVM/dialogs/Dialogs.ts:25

showBusyIndicator()

showBusyIndicator(title, message): BusyIndicator

Show a standard busy indicator dialog.

Parameters
title

string

Title of the dialog.

message

string

Message to show inside the dialog.

Returns

BusyIndicator

The busy indicator instance.

Overrides

IDialogs.showBusyIndicator

Defined in

Source/JavaScript/Applications.React.MVVM/dialogs/Dialogs.ts:35

showConfirmation()

showConfirmation(title, message, buttons): Promise<DialogResult>

Show a standard confirmation dialog.

Parameters
title

string

Title of the dialog.

message

string

Message to show inside the dialog.

buttons

DialogButtons

Buttons to have on the dialog

Returns

Promise<DialogResult>

The result of the dialog.

Overrides

IDialogs.showConfirmation

Defined in

Source/JavaScript/Applications.React.MVVM/dialogs/Dialogs.ts:30