Represents an input control with the ability to select images from the filesystem or a predefined list.
Namespace: MindFusion.Common.UI
File: ImagePicker.js
JavaScript Copy Code |
---|
// class |
The following code creates an ImagePicker with an initial list of 3 images and handles its valueChanging event:
JavaScript Copy Code |
---|
var u = MindFusion.Common.UI; var imagePicker = u.ImagePicker(document.getElementById("image_picker")); imagePicker.valueChanging.addEventListener(handleValueChanging); function handleValueChanging(sender, args) |
MindFusion.Common.UI.Picker
MindFusion.Common.UI.ImagePicker