attachColorPicker

adds a color picker object to the popup

dhtmlXColorPicker attachColorPicker(object conf);

Parameters

confobjectoptional, color picker config for api-init

Returns

dhtmlXColorPickerdhtmlXColorPicker instance

Example

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

Change log

added in 4.0

Back to top