Documentation / dialogs/Dialogs
dialogs/Dialogs
Classes
Dialogs
Represents an implementation of IDialogs.
Extends
Constructors
new Dialogs()
new Dialogs(
_dialogMediatorHandler,dialogComponents):Dialogs
Initializes a new instance of the Dialogs class.
Parameters
_dialogMediatorHandler
dialogComponents
IDialogComponents
Returns
Overrides
Defined in
Source/JavaScript/Applications.React.MVVM/dialogs/Dialogs.ts:18
Methods
show()
show<
TRequest,TResponse>(request):Promise<DialogResponse<TResponse>>
Show a dialog in the context of the current view and view model. This requires the view to host the dialog.
Type Parameters
• TRequest extends object
• TResponse = object
Parameters
request
TRequest
The input to pass to the dialog.
Returns
Promise<DialogResponse<TResponse>>
The output from the dialog.
Overrides
Defined in
Source/JavaScript/Applications.React.MVVM/dialogs/Dialogs.ts:41
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
The busy indicator instance.
Overrides
Defined in
Source/JavaScript/Applications.React.MVVM/dialogs/Dialogs.ts:52
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
Defined in
Source/JavaScript/Applications.React.MVVM/dialogs/Dialogs.ts:46