Interface IActionMode
A structure defining how to import SVG, PDF, and PSD graphics.
Package: @aurigma/design-editor-iframe
Remarks
For details, see the Image manager topic.
Examples
{
"assetSources": {
"My Shapes": {
"type": "PrivateSource",
"allowedExtensions": [ "pdf", "svg", "ai" ],
"actionMode": {
"pdf": "Shape",
"svg": "Shape"
}
},
"Public Group Elements": {
"type": "PublicSource",
"allowedExtensions": [ "psd" ],
"actionMode": {
"psd": "Group"
}
},
"Public Cliparts": {
"type": "PublicSource",
"allowedExtensions": [ "svg" ],
"actionMode": {
"svg": "Clipart"
}
}
}}
Properties
The upload mode for PDF and AI files. By default, the Vector mode is enabled.
Declaration
pdf?: PdfActionMode.PdfActionModeType;
Property Value
| Type | Description |
|---|---|
| PdfActionModeType | The upload mode for PDF and AI files. By default, the |
psd
The upload mode for PSD files. By default, the Design mode is enabled.
Declaration
psd?: PsdActionMode.PsdActionModeType;
Property Value
| Type | Description |
|---|---|
| PsdActionModeType | The upload mode for PSD files. By default, the |
svg
The upload mode for SVG files. By default, the Vector mode is enabled.
Declaration
svg?: SvgActionMode.SvgActionModeType;
Property Value
| Type | Description |
|---|---|
| SvgActionModeType | The upload mode for SVG files. By default, the |