Represents a modal dialog box, displaying a custom message.
Namespace: MindFusion.Common.UI
File: InfoDialog.js
JavaScript Copy Code |
---|
// class |
The following code creates a new instance of the InfoDialog class:
JavaScript Copy Code |
---|
var infoDialog = new ui.InfoDialog("Elapsed Time", "You Have Played This Game for 2 Hours!", document.getElementById("content")); |
MindFusion.Common.UI.Control
MindFusion.Common.UI.WindowBase
MindFusion.Common.UI.Window
MindFusion.Common.UI.Dialog
MindFusion.Common.UI.InfoDialog