class MessageDialogOptions
A representation of the contents of an alert or confirm dialog.
class MessageDialogOptions;
Notes
- Objects of this type are used by ModalFactory.AlertDialogController or ModalFactory.ConfirmDialogController to display a modal dialog view.
Constructor
new MessageDialogOptions()
Creates a new object with the specified options.
Type members
type MessageDialogOptions.DialogType static
Type definition for different types of dialogs that may be presented to the user.
Instance members
messages
A list of messages that will be displayed in the alert dialog.confirmText
Custom confirm/dismiss button text.cancelText
Custom cancel button text.otherText
Custom other alternative button text.type
Type of dialog to be presented.format()
Returns a new instance, with messages formatted using the provided arguments.
Related
showAlertDialogAsync()
Displays an alert dialog with the specified content and a single dismiss button.showConfirmDialogAsync()
Displays a confirmation dialog with the specified text and buttons.interface ModalFactory.AlertDialogController static
An interface for a class that manages a modal alert dialog view.interface ModalFactory.ConfirmDialogController static
An interface for a class that manages a modal confirmation dialog view.
