Back to Website
Show / Hide Table of Contents

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.

Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2024 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback