Interface IItemPermissionsData
A structure defining common permissions for design elements.
Package: @aurigma/design-atoms-interfaces
Examples
{
"defaultItemsConfig": {
"image": {
"itemPermissions": {
"allowZOrderChange": false,
"allowOpacityChange": false
}
}
}
}
Properties
allowOpacityChange
Enables buttons for changing the opacity of design elements.
Declaration
allowOpacityChange?: boolean;
Property Value
Type | Description |
---|---|
boolean | Enables buttons for changing the opacity of design elements. |
allowRemoveOnLayoutChange
Allows for removing and keeping design elements when changing layouts.
Declaration
allowRemoveOnLayoutChange?: boolean;
Property Value
Type | Description |
---|---|
boolean | Allows for removing and keeping design elements when changing layouts. |
allowZOrderChange
Enables buttons for changing the z-order of design elements.
Declaration
allowZOrderChange?: boolean;
Property Value
Type | Description |
---|---|
boolean | Enables buttons for changing the z-order of design elements. |
itemToolbarPermissions
Configures the **Floating item toolbar** for design elements. You can enable the **Select Image**, **Edit**, and **Delete** buttons.
Declaration
itemToolbarPermissions?: IItemToolbarPermissionsData;
Property Value
Type | Description |
---|---|
IItemToolbarPermissionsData | Configures the **Floating item toolbar** for design elements. You can enable the **Select Image**, **Edit**, and **Delete** buttons. |