Interface IAssetManagerConfig.ITabConfig
A structure defining tabs of the Asset Manager.
Package: @aurigma/design-editor-iframe
Remarks
For details, see the Image manager topic.
Examples
{
"widgets": {
"AssetManager": {
"defaultTabName": "External urls",
"tabs": [
{
"name": "My files",
"assetSourceInstance": "My files",
"iconClassName": "cc-icon-uploadable",
"controls": {
"canDelete": false,
"toolbarEnabled": false,
"selectAllButtonEnabled": true
}
},
{
"name": "Public Gallery",
"assetSourceInstance": "Public Gallery",
"iconClassName": "cc-icon-add-image",
"controls": {
"categoriesEnabled": false
}
},
{
"name": "External urls",
"assetSourceInstance": "[source]External urls",
"iconClassName": "cc-icon-add-image",
"controls": {
"assetNameEnabled": false,
"insertToAllButtonEnabled": true
}
}
]
}
}
}
Properties
assetSourceInstance
A name of the structure defining a type, categories, titles, and links to the assets. For details, you can refer to the IAssetSources interface.
Declaration
assetSourceInstance: string;
Property Value
| Type | Description |
|---|---|
| string | A name of the structure defining a type, categories, titles, and links to the assets. For details, you can refer to the |
controls
Additional settings.
Declaration
controls: {
categoriesEnabled: boolean;
assetNameEnabled: boolean;
extensionEnabled: boolean;
toolbarEnabled: boolean;
canEdit?: boolean;
canUpload?: boolean;
canDelete?: boolean;
canRename?: boolean;
insertToAllButtonEnabled: boolean;
selectAllButtonEnabled: boolean;
multiSelectEnabled: boolean;
};
Property Value
| Type | Description |
|---|---|
| { categoriesEnabled: boolean; assetNameEnabled: boolean; extensionEnabled: boolean; toolbarEnabled: boolean; canEdit?: boolean; canUpload?: boolean; canDelete?: boolean; canRename?: boolean; insertToAllButtonEnabled: boolean; selectAllButtonEnabled: boolean; multiSelectEnabled: boolean; } | Additional settings. |
iconClassName
A class of the tab icon. You can find the complete list of available icon classes in /src/design-editor/Styles/ControlStyles/sp-icons.less.
Declaration
iconClassName: string;
Property Value
| Type | Description |
|---|---|
| string | A class of the tab icon. You can find the complete list of available icon classes in |
id
The tab ID.
Declaration
id: string;
Property Value
| Type | Description |
|---|---|
| string | The tab ID. |
name
The tab name.
Declaration
name: string;
Property Value
| Type | Description |
|---|---|
| string | The tab name. |