dialog (deprecated)
Last updated
Last updated
dialog()
is considered deprecated
Support for the dialog()
alert dialogs may be dropped in future versions of the JourneyApps Runtime. Please upgrade your app to use to ensure that your app remains compatible with the JourneyApps Runtime.
If you provide one argument to dialog()
, a dialog will be shown with only a message:
To display a dialog with a title and message, provide two arguments to dialog()
. The first parameter is the title, the second is the message:
The ability to customize a dialog's button was introduced in version 4.50 of the JourneyApps Container.
The third parameter is the button of the dialog, which can either be a string or an object with text
and color
as fields.