ColorCombo.PresentedColors

Syntax

PresentedColors: Array

Description

The PresentedColors property sets the set of the standard colors in the palette.

Comments

Color can be specified in the following formats:

Example

To execute the example, place the ColorCombo component on the HTML page as described in the Example of Creating the ColorCombo Component page. To the JSON component settings add the string:

PresentedColors: ['#FF0000', '#00FF00', '#0000FF', '#FFFF00', '#00FFFF', '#FF00FF', '#FFFFFF', '#000000']

After executing the example on refreshing the page that contains the ColorCombo component the palette contains the specified color set:

See also:

ColorCombo