Skip to main content

IItemPermissionsData

Interfaces

IItemPermissionsData

A structure defining common permissions for design elements.

Example

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

Properties

allowOpacityChange?
optional allowOpacityChange?: boolean;

Enables buttons for changing the opacity of design elements.

allowRemoveOnLayoutChange?
optional allowRemoveOnLayoutChange?: boolean;

Allows for removing and keeping design elements when changing layouts.

allowZOrderChange?
optional allowZOrderChange?: boolean;

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

itemToolbarPermissions?
optional itemToolbarPermissions?: IItemToolbarPermissionsData;

Configures the Floating item toolbar for design elements. You can enable the Select Image, Edit, and Delete buttons.

Was this page helpful?