Gets or sets a value indicating whether a wrapper div element should be created for the control.
Namespace: MindFusion.Common.UI
File: Picker.js
JavaScript Copy Code |
---|
get createWrapper() {} |
Boolean. true to create the wrapper, otherwise false.
Default value is true. Set to false, if you wish to provide the wrapper yourself, (e.g.) when the control is used as an inplace editor.
The following code uses the createWrapper property to replace the Picker wrapper with an input element:
JavaScript Copy Code |
---|
var editor = document.createElement("input"); editor.valueChanged.addEventListener(function (sender, args) |