palette

задает цвета палитры

array palette;

Example

webix.ui({
    view:"colorboard",
    id:"color3",
    cols    :2,
    rows    :3,
    width   :60,
    height  :60,
    palette:[
        ["#FF2626", "#26FF26"],
        ["#2626FF", "#F3FC49"],
        ["#1BE07A", "#FC49D9"]
    ]
})

Related samples

See also
  • Articles
  • Наверх