ColorDefinition
interface
A color definition used to create a ColorTileView.
{
color: 'hsl(0, 0%, 75%)',
label: 'Light Grey',
options: {
hasBorder: true
}
}
Copy code
Properties
color : stringmodule:ui/colorgrid/colorgridview~ColorDefinition#colorString representing a color. It is used as value of background-color style in
ColorTileView.label : stringmodule:ui/colorgrid/colorgridview~ColorDefinition#labelString used as label for
ColorTileView.options : objectmodule:ui/colorgrid/colorgridview~ColorDefinition#optionsAdditional options passed to create a
ColorTileView.