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 |
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 |
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 |
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 |