Html control for color selection
Constructor
Name | Type | Description |
---|---|---|
options | Object | An object with the options ( headerText, cssColor ) |
The color selected in the control in the css hex format ( #rrggbb )
Change the value of the r, g and b inputs according to the given cssColor Change the sample color according to the given css color Called by the ColorButtonClickEL.handleEvent method
Name | Type | Description |
---|---|---|
cssColor | String | The color to use in the css format |
Change the red component of the color buttons, according to the red slider value. Called by the RedSliderInputEL.handleEvent ( ) method
Name | Type | Description |
---|---|---|
red | Number | The value of the red component |
Change the sample color according to the given Color
Name | Type | Description |
---|---|---|
cssColor | String | The css color to use |
The element with the color buttons
The element with the red slider
The element with the r, g, and b inputs
The element with the sample color