Class Rico.ColorPicker
Extends
Rico.Popup.
Implements a pop-up color picker control.
Defined in: <ricoColorPicker.js>.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Rico.ColorPicker(id, options)
|
| Method Attributes | Method Name and Description |
|---|---|
|
atLoad()
|
|
|
close()
alias for closePopup
|
|
|
open()
alias for openPopup
|
- Methods borrowed from class Rico.Popup:
- closePopup, createPopup, createWindow, move, openPopup, setDiv
Class Detail
Rico.ColorPicker(id, options)
- Parameters:
- id
- unique identifier
- options
- object may contain any of the following:
- showColorCode
- show hex color code as user hovers over color grid? default=false
- cellsPerRow
- number of colors per row in the grid? default=18
- palette
- array of 6 digit hex values, default=216 "web safe" colors
Method Detail
atLoad()
close()
alias for closePopup
open()
alias for openPopup