Skip to main content

IManipulationPermissionsData

Interfaces

IManipulationPermissionsData

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.

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.

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.

resizeGrips?
optional resizeGrips?: IResizeGripsPermissions;

Enables the corner and side grips to resize elements.

Was this page helpful?