Represents a modal dialog box.
Namespace: MindFusion.Common.UI
File: Dialog.js
JavaScript Copy Code |
---|
// class |
You would either inherit from this class to create your own dialogs or use one of the methods of the Dialog class, which render one of the predefined dialogs. You can also create instances of one of the classes that implement Dialog: ConfirmDialog, InfoDialog, InputDialog.
JavaScript Copy Code |
---|
// show the dialog ui.Dialogs.showInputDialog("", "Choose game mode", startGame, document.getElementById("content"), select, "value"); |
MindFusion.Common.UI.Control
MindFusion.Common.UI.WindowBase
MindFusion.Common.UI.Window
MindFusion.Common.UI.Dialog
MindFusion.Common.UI.ConfirmDialog
MindFusion.Common.UI.InfoDialog