Search
WindowBase.detach Method
See Also
 






Control.detach override.

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

 Syntax

JavaScript  Copy Code

function detach ()

 Example

The following code closes a Window, whose title is "Close". First, the event handlers are detached. Window derives from WindowBase.

JavaScript  Copy Code
if(window.title == "Close")
{
   window.detach();
   window.close();
}

 See Also