Search
Window.minHeight Property
See Also
 






Gets or sets the minimum allowed height of this Window.

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

 Syntax

JavaScript  Copy Code

get minHeight() {}

 Property Value

A Unit instance. The minimum allowed height.

 Example

The following code creates a new Window instance, sets its min width and height together with other properties and opens it:

JavaScript  Copy Code
var window = new ui.Window();
window.top = ui.Unit.percentage(25);
window.left = ui.Unit.percentage(25);
window.minWidth = ui.Unit.pixel(600);
window.minHeight = ui.Unit.pixel(600);
window.title = "Statistics";
window.data = chartItem.item;
window.templateUrl = "ChatWindow.html";
window.iconSrc = "icons\chart.png";
window.open();

 See Also