Search
InfoDialog Class
See Also
 






Represents a modal dialog box, displaying a custom message.

Namespace: MindFusion.Common.UI
File: InfoDialog.js

 Syntax

JavaScript  Copy Code

// class
InfoDialog.prototype = {}

 Example

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"));

 Inheritance Hierarchy

MindFusion.Common.UI.Control
    MindFusion.Common.UI.WindowBase
        MindFusion.Common.UI.Window
            MindFusion.Common.UI.Dialog
                MindFusion.Common.UI.InfoDialog

 See Also