Picker.detach override.
Namespace: MindFusion.Common.UI
File: ImagePicker.js
SyntaxJavaScript
Copy Code
|
|---|
function detach () |
ExampleThe following code makes the imagePicker invisible and detaches its event handlers when the Window, which renders it, is closing.
JavaScript
Copy Code
|
|---|
| function windowClosing(sender, args) { imagePicker.visible = false; imagePicker.detach(); } |
See Also