Check documentation for the latest version of dhtmlxSuite linkTo DHTMLX Docs

linkTo

links dhtmlXColorPicker to some area

void linkTo(object obj1,object obj2, [object obj3] );
obj1objectcolor target
obj2objectaction element
obj3objectoptional, color value target

Example

myColorPicker.linkTo("a1","a2","a3");

Details

The first parameter of this method indicates the object the color of which will be changed, the second one - indicates the object that will call the color picker, and the third (optional) parameter will contain the hex code of the chosen color.

Back to top