IManipulationPermissionsConfig Interface

A structure defining the manipulation permissions.

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

Properties

Optional allowDelete

allowDelete: boolean

Allows deleting elements. The default value is true.

Optional allowMoveHorizontal

allowMoveHorizontal: boolean

Allows moving elements horizontally. The default value is true.

Optional allowMoveVertical

allowMoveVertical: boolean

Allows moving elements vertically. The default value is true.

Optional allowRotate

allowRotate: boolean

Allows rotating elements. The default value is true.

Optional resizeGrips

Enables the corner and side grips to rotate elements.