type

type of the Colorboard

string type;

Example

webix.ui({ 
  view: "colorboard",
  type: "classic" // sets classic type initially
});

Details

By default the type property is set to "material". If you want to switch it to the previously used pallete (Webix 7.4 and earlier) set it to "classic" like it is shown in the example above.
Note that as far as the default material palette based on a set of clear colors it has two limitations:

  • the value of the cols property is read-only (always corresponds to the palette),
  • minLightness is not applicable for "material" mode, as palette always starts from base colors.
See also
Back to top