Since 8.0
Color Selector allows selecting an arbitrary color. Can be used standalone or as a popup of ColorPicker.
webix.ui({
view:"colorselect",
value:"#96408b"
});
Related sample: Color Selector: Initialization
You can use Color Selector as a popup of the ColorPicker widget.
To do so define a colorpicker and inside its suggest property set a colorselect as a value for the type field. To be able to submit the selected color add a button inside the body property of the colorselect by setting the button field to true.
{
view:"colorpicker",
label:"Color",
value:"#751FE0",
suggest:{
type:"colorselect",
body:{
button:true
}
}
}
Related sample: Color Selector: Using with ColorPicker
Back to top