org.chenillekit.tapestry.core.components.ColorPicker

A simple color picker component. Supports saving custom colors to the palette via cookies. To open the palette, click the color box at the right side of the input box.

[JavaDoc]

Component Parameters

Name Type Flags Default Default Prefix Description
colors String NOT Allow Null prop an array of 40 colors (in hex format) to display in the swatch grid
label String NOT Allow Null literal the text to display in the "add custom color" button, defaults to "Add"
value String Required, NOT Allow Null prop The value parameter of a ColorPicker must be a java.lang.String.

Back to index