Specifies how a window is displayed.
Namespace: MindFusion.Common.UI
File: DropDown.js
JavaScript Copy Code |
---|
// enum |
Member name | Value | Description | |
---|---|---|---|
Maximized |
2 | Indicates maximized state. |
|
Minimized |
1 | Indicates minimized state. |
|
Normal |
0 | Indicates normal state. |
The following code handles the windowOpen event of the Window class and uses the windowState property to check the state:
JavaScript Copy Code |
---|
var u = MindFusion.Common.UI; window.windowOpen.addEventListener(windowOpenEventHandler); function windowOpenEventHandler(sender, args) |