Shows an info dialog.
Namespace: MindFusion.Common.UI
File: WindowHost.js
JavaScript Copy Code |
---|
function showInfoDialog ([title, [message, [callback]]]) |
String. The text to display as a dialog title.
String. The message to display as the dialog text.
function. The callback function to invoke when the dialog is closed.
The following code renders an information dialog without a callback function:
JavaScript Copy Code |
---|
// Show an information dialog. // The information dialog displays a message and an OK button. host.showInfoDialog("Information", "This is the value of the data field \n <" + sender.data + ">"); |