Search
WindowBase.host Property
See Also
 






Gets the host of this WindowHost.

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

 Syntax

JavaScript  Copy Code

get host() {}

 Property Value

An instance of the Container class.

 Example

The following code checks how wide the host of a Window is:

JavaScript  Copy Code
if(window.host.contentRect.width > 100)
{
    //do something
}

 See Also