Specifies the display mode of the button in a Picker control.
Namespace: MindFusion.Common.UI
File: DropDown.js
JavaScript
![]() |
---|
// enum |
Member name | Value | Description | |
---|---|---|---|
![]() |
Block |
1 | Indicates that the button will be displayed to the right of the input element. |
![]() |
Inline |
2 | Indicates that the button will be displayed inside the input element. |
![]() |
None |
0 | Indicates that the button wil not be displayed. |
The following code creates an ImagePicker with an initial list of 3 images and handles its valueChanging event. The image picker does not allow empty values and its buttons are rendered inside the input element:
JavaScript
![]() |
---|
var u = MindFusion.Common.UI; var imagePicker = u.ImagePicker(document.getElementById("image_picker")); imagePicker.valueChanging.addEventListener(handleValueChanging); function handleValueChanging(sender, args) |