close()
close ColorPicker
Object: dhtmlXColorPicker
Topic(s):
File required:dhtmlxcolorpicker.js
getSelectedColor()
get selected color
Object: dhtmlXColorPicker
Topic(s):
File required:dhtmlxcolorpicker.js
Returns: (array) first - hex rgb value, second - rgb component array, third - hsl component array
hide()
hide ColorPicker
Object: dhtmlXColorPicker
Topic(s):
File required:dhtmlxcolorpicker.js
init()
object initialization
Object: dhtmlXColorPicker
Topic(s):
File required:dhtmlxcolorpicker.js
linkTo(obj1,obj2,obj3)
link color picker to some area
Object: dhtmlXColorPicker
Topic(s):
File required:dhtmlxcolorpicker.js
obj1 - color targetobj2 - action elementobj3 - color value targetloadUserLanguage(lang)
Set new language interface for colorpicker
Object: dhtmlXColorPicker
Topic(s):
File required:dhtmlxcolorpicker.js
lang - language (ex: en-us|ru)setColor(rgb)
select defined color
Object: dhtmlXColorPicker
Topic(s):
File required:dhtmlxcolorpicker.js
rgb - array with decimal values of Red, Green and Blue or string with hex colorsetCustomColors(colors)
define user's custom colors
Object: dhtmlXColorPicker
Topic(s):
File required:dhtmlxcolorpicker.js
colors - array with predefined colors (like #F8560A)setImagePath(path)
set path to images
Object: dhtmlXColorPicker
Topic(s):
File required:dhtmlxcolorpicker.js
setOnCancelHandler(func)
set function called when selection canceled
Object: dhtmlXColorPicker
Topic(s):
File required:dhtmlxcolorpicker.jsfunc - event handling function (or its name)setOnSelectHandler(func)
set function called when color selected (before closing)
Object: dhtmlXColorPicker
Topic(s):
File required:dhtmlxcolorpicker.jsfunc - event handling function (or its name)setPosition(x,y)
show ColorPicker
Object: dhtmlXColorPicker
Topic(s):
File required:dhtmlxcolorpicker.js
x - (int) position leftx - (top) position topshow()
show ColorPicker
Object: dhtmlXColorPicker
Topic(s):
File required:dhtmlxcolorpicker.js