DHTMLX Docs & Samples Explorer

Index
dhtmlxcolorpicker
API Methods

## List of initialization properties

### Common initialization options

- parent - string or object, id of container, where tree will be initialized, mandatory
- link - {string|object} link color picker to some area(linkTo)
- image_path - {string} set path to images(setImagePath)
- color - {string} select defined color(setColor)
- click - {boolean} enable/disable limited color selection mode, optional
- colors - {boolean} is custom colors area visible, optional
- hide - {boolean} enable init in hidden state, optional
- full - {boolean} simple selection or complex selection mode, optional

### Events

any event can be assigned by using property equal to event name

    	picker = new dhtmlXColorPicker({
    		parent:"my_picker_here",
    		onSelect:function(){
    			alert("color selected");
    		}
    	});