Back to Website
Show / Hide Table of Contents

Interface IItemToolbarPermissionsData

A structure containing the configuration of the Floating item toolbar.

Package: @aurigma/design-atoms-interfaces
Examples

To enable the **Floating item toolbar** on the canvas, set the floatingItemToolbarEnabled property to true. For details, see the UI overview topic.

{
   "defaultItemsConfig": {
       "image": {
           "itemPermissions": {
               "allowZOrderChange": false,
               "itemToolbarPermissions": {
                   "showEditButton": true,
                   "showDeleteButton": false,
                   "showSelectButton": false
               }
           }
       }
   },
   "canvas": {
       "floatingItemToolbarEnabled": true
   }
}

Properties

showDeleteButton

Enables the **Delete** button. The default value is true.

Declaration
showDeleteButton?: boolean;
Property Value
Type Description
boolean

Enables the **Delete** button. The default value is true.

showEditButton

Enables the **Edit** button. The default value is true.

Declaration
showEditButton?: boolean;
Property Value
Type Description
boolean

Enables the **Edit** button. The default value is true.

showHandleButton

Enables the **Handle** button. The default value is true.

Declaration
showHandleButton?: boolean;
Property Value
Type Description
boolean

Enables the **Handle** button. The default value is true.

showSelectButton

Enables the **Select Image** button. The default value is true.

Declaration
showSelectButton?: boolean;
Property Value
Type Description
boolean

Enables the **Select Image** button. The default value is true.

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