Dialog.draw override.
Namespace: MindFusion.Common.UI
File: InfoDialog.js
JavaScript Copy Code |
---|
function draw () |
The following code creates an InfoDialog programmatically:
JavaScript Copy Code |
---|
var infoDialog = new ui.InfoDialog("Elapsed Time", "You Have Played This Game for 2 Hours!"); document.getElementById("content").appendChild(infoDialog.draw()); |
JavaScript Pack Programmer's Guide | © 2024 MindFusion |