Arc.React.MVVM
    Preparing search index...

    Class IDialogsAbstract

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

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • 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

      • input: TRequest

        The input to pass to the dialog.

      Returns Promise<DialogResponse<TResponse>>

      The output from the dialog.

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

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