setValue

sets a new value for the component

string setValue(stringvalue);

Parameters

valuestringa color in the hex format

Returns

stringa color in the hex format

Example

webix.ui({ 
    view:"colorboard",
    id:"color",
    cols:30,
    rows:30,
    width:400,
    height:400
});
 
$$('color3').setValue("#2626FF");
 
$$('color').getValue(); // -> "#2626FF"

Details

The value of the control may be:

See also
Back to top