class MessageDialogOptions
A representation of the contents of an alert or confirm dialog.
class MessageDialogOptions extends ConfigOptions
Notes
- Objects of this type are used by UITheme.AlertDialogController or UITheme.ConfirmDialogController to display a modal dialog view.
Constructor
- constructor(messages?, confirmLabel?, cancelLabel?, otherLabel?, type?)Creates a new object with the specified options.
Type Members
- type MessageDialogOptions.DialogType staticType definition for different types of dialogs that may be presented to the user.
Instance Members
- messagesA list of messages that will be displayed in the alert dialog.
- confirmLabelCustom confirm/dismiss button label text.
- cancelLabelCustom cancel button label text.
- otherLabelCustom other alternative button label text.
- typeType of dialog to be presented.
- format(…args)Returns a new instance, with messages formatted using the provided arguments.
Related
- showAlertDialogAsync(config, buttonLabel?)Displays an alert dialog with the specified content and a single dismiss button.
- showConfirmDialogAsync(config, confirmLabel?, cancelLabel?)Displays a confirmation dialog with the specified text and buttons.
- interface UITheme.AlertDialogController staticAn interface for a class that manages a modal alert dialog view.
- interface UITheme.ConfirmDialogController staticAn interface for a class that manages a modal confirmation dialog view.