Table of Contents

Documentation / dialogs/IDialogs

dialogs/IDialogs

Classes

abstract IDialogs

Defines a service for working with dialogs from a view model.

Extended by

Constructors

new IDialogs()

new IDialogs(): IDialogs

Returns

IDialogs

Methods

show()

abstract 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.

Defined in

Source/JavaScript/Applications.React.MVVM/dialogs/IDialogs.ts:17

showBusyIndicator()

abstract 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.

Defined in

Source/JavaScript/Applications.React.MVVM/dialogs/IDialogs.ts:34

showConfirmation()

abstract 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.

Defined in

Source/JavaScript/Applications.React.MVVM/dialogs/IDialogs.ts:26