allowPreview? | boolean | Whether hover effect preview is allowed. |
asGroup? | null | string | Either the current item is a separate subgroup by defined string name or inside main menu. |
categorical? | boolean | Either the palette is displayed as a gradient (if false) or as a separate colors sequence (if true). |
closeOnClick? | boolean | Whether to close the menu after color is selected. |
getInitialValue? | () => number[] | Returns value put into the selector as initial or to reset. |
onPreview? | (list: number[]) => void | Called when color is hovered or reset. |
onSelect? | (list: number[]) => void | Called when color is selected by click. |
resetColorMs? | number | Delay when color value reset to default after leaving hovered item. |
visible? | null | boolean | Whether the current item is visible. |