ColorPalettePopover
<ui5-color-palette-popover>
| Since 1.0.0-rc.16Represents a predefined range of colors for easier selection.
Overview The ColorPalettePopover provides the users with a slot to predefine colors.
You can customize them with the use of the colors property. You can specify a defaultColor and display a "Default color" button for the user to choose directly. You can display a "More colors..." button that opens an additional color picker for the user to choose specific colors that are not present in the predefined range.
Usage​
The palette is intended for users, who don't want to check and remember the different values of the colors and spend large amount of time to configure the right color through the color picker.
For the ui5-color-palette-popover
ES6 Module Import​
import @ui5/webcomponents/dist/ColorPalettePopover.js";
Basic Sample​
Properties​
showRecentColors​
showMoreColors​
showDefaultColor​
defaultColor​
open​
opener​
Slots​
default​
Events​
item-click​
close​
Methods​
No methods available for this component.
CSS Parts​
No CSS parts available for this component.
More Samples​
Show Default Color​
Show More&Recent Colors​
Recent colors shows the last five colors that have been selected. More colors opens a dialog to manually choose a color from a ColorPicker.