WindowBase.detach override.
Namespace: MindFusion.Common.UI
File: Window.js
JavaScript Copy Code |
---|
function detach () |
The following code closes a Window, whose title is "Close". First, the event handlers are detached.
JavaScript Copy Code |
---|
if(window.title == "Close") { window.detach(); window.close(); } |
JavaScript Pack Programmer's Guide | © 2024 MindFusion |