new ColorDropTextBox()
An Text box with a drop down button to select color.
Properties:
Name | Type | Description |
---|---|---|
showPreview |
Bool | Whether show preview color on text box. |
value |
String | To get or set color value. |
specialColors |
Array | Special colors selectable in header. Each item in array can be a color string ('e.g. '#FF0000') or a hash object with fields {value, className} in which the className will be added to special color cell. |
Extends
Methods
-
hideColorPicker()
-
Hide color picker panel.
-
showColorPicker()
-
Show color picker panel.