Name | Type | Default |
---|---|---|
color | string | '#ff0000' |
|
||
colorMode | ColorPickerColorMode | 'saturation' |
ColorPickerColorMode: "hue" | "saturation"
Sets or gets the color mode. Possible Values:
|
||
disabled | boolean | false |
Enables or disables the color picker.
|
||
height | string | number | null |
Sets or gets the height of the color picker.
|
||
showTransparent | boolean | false |
Sets or gets the showTransparent property.
|
||
width | string | number | null |
Sets or gets the width of the color picker.
|
||
Events |
||
colorchange | Event | |
This event is triggered when a new color is picked. Code examples
Bind to the
|
||
Methods |
||
Name | Arguments | Return Type |
getColor | None | |
Gets the color.
|
||
setColor | color | |
Sets a color.
|