getValue

returns the current value of the component

string getValue();
stringa color in RGB, HSL, HEX formats, HTML color codes

Example

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

See also
Back to top