IItemPermissionsConfig Interface

A structure defining common permissions for design elements.

example
{
    "defaultItemsConfig": {
        "image": {
            "itemPermissions": {
                "allowZOrderChange": false,
                "allowOpacityChange": false
              }
        }
    }
}

Properties

Optional allowOpacityChange

allowOpacityChange: boolean

Enables buttons for changing the opacity of design elements.

Optional allowRemoveOnLayoutChange

allowRemoveOnLayoutChange: boolean

Allows for removing and keeping design elements when changing layouts.

Optional allowZOrderChange

allowZOrderChange: boolean

Enables buttons for changing the z-order of design elements.

Optional showDeleteButton

showDeleteButton: boolean

Enables the Delete items button.

Optional showEditButton

showEditButton: boolean

Enables the Edit button.