FlatColorPickerProps
Represents the properties of FlatColorPicker component.
Name | Type | Default | Description |
---|---|---|---|
ariaLabel? |
|
Represents the label of the FlatColorPicker component. | |
ariaLabelledBy? |
|
Identifies the element(s) which will label the component. | |
className? |
|
Sets additional classes to the FlatColorPicker. | |
defaultValue? |
|
Sets the default color value. | |
disabled? |
|
Determines whether the FlatColorPicker is disabled. | |
format? |
|
|
Sets the default input format in the gradient input editor. |
header? |
|
Sets custom header component. | |
id? |
|
Sets the | |
opacity? |
|
|
Specifies whether we should display the opacity slider to allow selection of transparency. |
showButtons? |
|
Specifies whether action buttons will be rendered in the footer. | |
showClearButton? |
|
Specifies whether clear button will be rendered in the header. | |
showPreview? |
|
Specifies whether preview and revert color boxes will be rendered in the header. | |
style? |
|
Sets additional CSS styles to the FlatColorPicker. | |
tabIndex? |
|
Sets the | |
value? |
|
Sets the color value. | |
view? |
|
Sets the FlatColorPicker view. The default is |
Methods
onChange | ||||||
---|---|---|---|---|---|---|
The event handler that will be fired when the user click the "Apply" button or on blur when the "Apply" button is not present. | ||||||
|
onPreviewChange | ||||||
---|---|---|---|---|---|---|
The event handler that will be fired when the user changes the preview color. | ||||||
|