Interface IBgButton
A structure defining configuration of the Toolbox for customizing the background layer.
Package: @aurigma/design-editor-iframe
Examples
"Toolbox": {
"buttons": [
{
"translationKey": "Toolbox.CHANGE_BACKGROUND",
"translationKeyTitle": "Toolbox.TITLE_CHANGE_BACKGROUND",
"iconClass": "cc-icon-background",
"action": "Background",
"onlyImage": false
}
]
}
Properties
onlyImage
If false, allows users to select an image in the Asset Manager or a color in the picker. By default, this property is true, and users can only select an image.
Declaration
onlyImage: boolean;
Property Value
| Type | Description |
|---|---|
| boolean | If |