Interface IImagePermissionsData
A structure defining the image permissions.
Package: @aurigma/design-atoms-interfaces
Examples
The following example shows how you can disallow for editing and selecting other images after adding an image to the canvas.
{
"defaultItemsConfig": {
"image": {
"imagePermissions": {
"allowChangeImage": false,
"allowEditImage": false
}
}
}
}
Properties
allowChangeImage
Allows your users to change images. This property enables the **Select image** command in menus. Also, if it is false
, your users cannot change images by double-clicking. The default value is true
.
Declaration
allowChangeImage?: boolean;
Property Value
Type | Description |
---|---|
boolean | Allows your users to change images. This property enables the **Select image** command in menus. Also, if it is |
allowEditImage
Allows your users to open the Image Editor. This property enables the **Edit** command. The default value is true
.
Declaration
allowEditImage?: boolean;
Property Value
Type | Description |
---|---|
boolean | Allows your users to open the Image Editor. This property enables the **Edit** command. The default value is |
allowKeepOverlayColor
Allows your users to keep theoverlay color. The default value is true
.
Declaration
allowKeepOverlayColor?: boolean;
Property Value
Type | Description |
---|---|
boolean | Allows your users to keep theoverlay color. The default value is |