Back to Website
Show / Hide Table of Contents

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 IAssetSources interface.

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 /src/design-editor/Styles/ControlStyles/sp-icons.less.

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.

Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback