Search
ImagePicker.attach Method
See Also
 






Control.attach override.

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

 Syntax

JavaScript  Copy Code

function attach ()

 Example

The following code creates an ImagePicker programmatically and appends it to an HTML element called "image_list":

JavaScript  Copy Code

var ui = MindFusion.Common.UI;

function loadImageWindow(sender)
{

    var imagePicker = u.ImagePicker();
    sender.element.querySelector("#image_list").appendChild(imagePicker.draw());
    imagePicker.attach();
}

 See Also