Class: ColorDropButton

Kekule.Widget. ColorDropButton

new ColorDropButton()

A drop down button to select color.
Properties:
Name Type Description
showPreview Bool Whether show a preview color on button.
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.
isDirty Bool Whether the color value has been changed by user.
Source:

Extends

Methods

hideColorPicker()

Hide color picker panel.
Source:

showColorPicker()

Show color picker panel.
Source:

Events

dropDown

Invoked when the drop down widget is invoked by button. event param of it has field: {dropDown: Widget}
Inherited From:
Source:

Kekule.Widget. ColorDropButton

Methods

hideColorPicker()

Hide color picker panel.
Source:

showColorPicker()

Show color picker panel.
Source:

Events

dropDown

Invoked when the drop down widget is invoked by button. event param of it has field: {dropDown: Widget}
Inherited From:
Source: