Specifies the validation state of a control.
Namespace: MindFusion.Common.UI
File: DropDown.js
SyntaxJavaScript
Copy Code
|
|---|
// enum |
Members| Member name | Value | Description | |
|---|---|---|---|
![]() |
Invalid |
0 | Indicates that the control is in invalid state. |
![]() |
Valid |
1 | Indicates that the control is in valid state. |
ExampleThe following code creates an ImagePicker with an initial list of 3 images and handles its valueChanging event where it checks its state.
JavaScript
Copy Code
|
|---|
var u = MindFusion.Common.UI; var imagePicker = u.ImagePicker(document.getElementById("image_picker")); imagePicker.valueChanging.addEventListener(handleValueChanging); function handleValueChanging(sender, args) |
See Also