Back to Website
Show / Hide Table of Contents

Interface IAssetManagerConfig

A structure defining tabs of the Asset Manager.

Package: @aurigma/design-editor-iframe
Remarks

For details, see the Image manager topic.

Examples
{
 "widgets": {
   "AssetManager": {
     "maxUploadFileSize": 2048000,
     "defaultTabName": "External urls",
     "tabs": [
       {
         "name": "My files",
         "assetSourceInstance": "My files",
         "iconClassName": "cc-icon-uploadable"
       },
       {
         "name": "External urls",
         "assetSourceInstance": "External urls",
         "iconClassName": "cc-icon-add-image"
       }
     ]
   }
 }
}

Properties

defaultSortOrder

Specifies either acs or desc sort order.

Declaration
defaultSortOrder: string;
Property Value
Type Description
string

Specifies either acs or desc sort order.

defaultTabName

The default tab is displayed when you open the Asset Manager; it should be one of IAssetManagerConfig.ITabConfig.name.

Declaration
defaultTabName?: string;
Property Value
Type Description
string

The default tab is displayed when you open the Asset Manager; it should be one of IAssetManagerConfig.ITabConfig.name.

enabledBackgroundChange

Allows you to assign the selected image to the background.

Declaration
enabledBackgroundChange: boolean;
Property Value
Type Description
boolean

Allows you to assign the selected image to the background.

maxUploadFileSize

The maximum size of files that can be uploaded through the Asset Manager, in bytes. This value must be 102400 (100 kB) or more. By default, this value is null, and the size of uploaded files is not limited.

Declaration
maxUploadFileSize?: number;
Property Value
Type Description
number

The maximum size of files that can be uploaded through the Asset Manager, in bytes. This value must be 102400 (100 kB) or more. By default, this value is null, and the size of uploaded files is not limited.

saveAllowedTabAfterInsert

Allows you to restrict the image selection only to the asset tab from which an image was selected. If true, your users cannot open another tab. The default value is false.

Declaration
saveAllowedTabAfterInsert?: boolean;
Property Value
Type Description
boolean

Allows you to restrict the image selection only to the asset tab from which an image was selected. If true, your users cannot open another tab. The default value is false.

tabs

The array of tabs available in the Asset Manager. The IAssetSources interface allows you to define the sources of these tabs.

Declaration
tabs: IAssetManagerConfig.ITabConfig[];
Property Value
Type Description
IAssetManagerConfig.ITabConfig[]

The array of tabs available in the Asset Manager. The IAssetSources interface allows you to define the sources of these tabs.

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