inputEx.ColorField
( options )
- Parameters:
-
options <Object>
- Added options for ColorField :- colors: list of colors to load as palette
- palette: default palette to be used (if colors option not provided)
- cellPerLine: how many colored cells in a row on the palette
- ratio: screen-like ratio to display the palette, syntax: [with,height], default: [16,9] (if cellPerLine not provided)
- overlayPadding: padding inside the popup palette
- cellWidth: width of a colored cell
- cellHeight: height of a colored cell
- cellMargin: margin of a colored cell (cell spacing = 2*cellMarging)