Gets or sets a value indicating the display mode of the dropdown button.
Namespace: MindFusion.Common.UI
File: Picker.js
SyntaxJavaScript
Copy Code
|
|---|
get buttonStyle() {} |
PickerButtonStyle. One of the PickerButtonStyle enumeration values.
ExampleThe 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
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