Back to Website
Show / Hide Table of Contents

Interface IManipulationPermissionsData

A structure defining the manipulation permissions.

Package: @aurigma/design-atoms-interfaces
Examples

You can prevent elements from moving horizontally and enable corner grips with the following config.

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

Properties

allowDelete

Allows deleting elements. The default value is true.

Declaration
allowDelete?: boolean;
Property Value
Type Description
boolean

Allows deleting elements. The default value is true.

allowDragAndDrop

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

Declaration
allowDragAndDrop?: boolean;
Property Value
Type Description
boolean

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

allowMoveHorizontal

Allows moving elements horizontally. The default value is true.

Declaration
allowMoveHorizontal?: boolean;
Property Value
Type Description
boolean

Allows moving elements horizontally. The default value is true.

allowMoveVertical

Allows moving elements vertically. The default value is true.

Declaration
allowMoveVertical?: boolean;
Property Value
Type Description
boolean

Allows moving elements vertically. The default value is true.

allowRotate

Allows rotating elements. The default value is true.

Declaration
allowRotate?: boolean;
Property Value
Type Description
boolean

Allows rotating elements. The default value is true.

resizeGrips

Enables the corner and side grips to resize elements.

Declaration
resizeGrips?: IResizeGripsPermissions;
Property Value
Type Description
IResizeGripsPermissions

Enables the corner and side grips to resize elements.

Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2024 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback