Search
Window.minimize Method
See Also
 






Minimizes the Window.

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

 Syntax

JavaScript  Copy Code

function minimize ()

 Example

The following code creates a new Window instance, sets some of its common properties, opens it and calls its minimize method:

JavaScript  Copy Code
var window = new ui.Window();
window.top = ui.Unit.percentage(25);
window.left = ui.Unit.percentage(25);
window.title = clickedItem.title;
window.data = clickedItem.item;
window.templateUrl = "ChatWindow.html";
window.open();
window.minimize();

 See Also