Skip to main content
⚠️ Archived Version

You are viewing documentation for Design Editor version 7.2, which is no longer actively maintained. For the latest features and updates, please refer to the current version (7.3).

Interface: IManipulationPermissions

A structure defining the manipulation permissions.

Example

{
"defaultItemsConfig": {
"rectangle": {
"manipulationPermissions": {
"allowMoveHorizontal": false,
"resizeGrips": {
"edge": false,
"corner": ["Proportional"]
}
}
}
}
}

Properties

allowDelete?

optional allowDelete?: boolean

Allows deleting elements. The default value is true.


allowMoveHorizontal?

optional allowMoveHorizontal?: boolean

Allows moving elements horizontally. The default value is true.


allowMoveVertical?

optional allowMoveVertical?: boolean

Allows moving elements vertically. The default value is true.


allowRotate?

optional allowRotate?: boolean

Allows rotating elements. The default value is true.


allowDragAndDrop?

optional allowDragAndDrop?: boolean

Allows dragging the content of image placeholders when they have the <PH><MAMH_f><MAMV_f> markers. The default value is true.


resizeGrips?

optional resizeGrips?: IResizeGripsPermissions

Enables the corner and side grips to resize elements.

Was this page helpful?