IItemToolbarPermissionsConfig Interface

A structure containing the configuration of the Floating item toolbar.

To enable the Floating item toolbar on the canvas, set the floatingItemToolbarEnabled property to true. For details, refer to the Customizing the User Interface topic.

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

Properties

Optional showDeleteButton

showDeleteButton: boolean

Enables the Delete button. The default value is true.

Optional showEditButton

showEditButton: boolean

Enables the Edit button. The default value is true.

Optional showSelectButton

showSelectButton: boolean

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