Interface IColorPickerConfigSection
A structure defining basic properties of Color picker sections. For details, see the Color picker topic.
Package: IframeApi
Properties
targets
An item property that you can specify a color for. The default value is ["All"]
.
Declaration
targets?: ColorPickerTarget[]
Property Value
Type | Description |
---|---|
ColorPickerTarget[] |
translationKey
The section name. You can use either a string or an identifier of a string defined in the ~/Configuration/translations.json file.
Declaration
translationKey?: string
Property Value
Type | Description |
---|---|
string |
type
The color section type, one of "NoColorSection", "RecentSection", "ThemeSection", or "PaletteSection".
Declaration
type: SectionType
Property Value
Type | Description |
---|---|
SectionType |
viewType
The appearance of the section, either "Block" or "Line". The default value is "Block".
Declaration
viewType?: ColorPickerSectionViewType
Property Value
Type | Description |
---|---|
ColorPickerSectionViewType |