Interface IAssetSources.IAssetSourceConfig
A structure defining the source type of the Image Manager.
Package: @aurigma/design-editor-iframe
Examples
{
"assetSources": {
"My files": {
"type": "PrivateSource",
"actionMode": {
"pdf": "Shape",
"svg": "Clipart"
}
}
}
}
Properties
actionMode
Defines how the Image Manager should import SVG, PDF, and PSD graphics. The default value is "Vector".
Declaration
actionMode?: IActionMode;
Property Value
| Type | Description |
|---|---|
| IActionMode | Defines how the Image Manager should import SVG, PDF, and PSD graphics. The default value is |
crossOriginMode
If this parameter is not set or its value is "on", then the fetching of the image is performed using crossOrigin = "anonymous". If "off", images are requested without the crossOrigin attribute. The default value is "on".
Declaration
crossOriginMode?: CrossOriginMode.CrossOriginModeType;
Property Value
| Type | Description |
|---|---|
| CrossOriginModeType | If this parameter is not set or its value is |
type
Specifies a source type, one of `"MemorySource"`, `"RemoteSource"`, `"DepositPhotos"`, `"PublicSource"`, `"PrivateSource"`, or `"SocialNetworkSource"`.
Declaration
type: TType;
Property Value
| Type | Description |
|---|---|
| TType | Specifies a source type, one of `"MemorySource"`, `"RemoteSource"`, `"DepositPhotos"`, `"PublicSource"`, `"PrivateSource"`, or `"SocialNetworkSource"`. |