Search
Window Class
See Also
 






Represents a window with title and contents, which can be moved, resized and arranged interactively.

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

 Syntax

JavaScript  Copy Code

// class
Window.prototype = {}

 Example

The following code creates a new Window instance and sets some of its common properties:

JavaScript  Copy Code
var window = new ui.Window();
window.top = ui.Unit.percentage(25);
window.left = ui.Unit.percentage(25);
window.width = ui.Unit.pixel(400);
window.height = new ui.Unit.pixel(300);
window.title = clickedItem.title;
window.data = clickedItem.item;
window.templateUrl = "ChatWindow.html";

 Inheritance Hierarchy

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

 See Also