Check documentation for the latest version of dhtmlxSuite attachColorPicker DHTMLX Docs

attachColorPicker

adds a color picker object to the popup

dhtmlXColorPicker attachColorPicker(object conf);
confobjectoptional, color picker config for api-init
dhtmlXColorPickerdhtmlXColorPicker instance

Example

var myPop = new dhtmlXPopup(...);
var myCP = myPop.attachColorPicker({
    color: "#a4bed4"
});

Change log

added in 4.0

Back to top