Skip to main content

IItemToolbarPermissionsData

Interfaces​

IItemToolbarPermissionsData​

A structure containing the configuration of the Floating item toolbar.

Example​

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

Properties​

showDeleteButton?​
optional showDeleteButton?: boolean;

Enables the Delete button. The default value is true.

showEditButton?​
optional showEditButton?: boolean;

Enables the Edit button. The default value is true.

showHandleButton?​
optional showHandleButton?: boolean;

Enables the Handle button. The default value is true.

showSelectButton?​
optional showSelectButton?: boolean;

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

Was this page helpful?