@aurigma/ui-framework
Version:
A platform which allows building print product personalization editors based on Aurigma's Customer's Canvas.
86 lines (56 loc) • 1.67 kB
Markdown
A command that updates channel containers with new parameters.
For details, you can refer to the [IUpdateItemsCommandDefinition](../interfaces/iupdateitemscommanddefinition.md).
```
{
"type": "design-editor",
"name": "editor",
"params": {
"initial": { ... },
"updateItems": {
"items": {
"Bleed Zone Radius": {
"name": "Bleed Zone Radius",
"visualizationPermissions": {
"noShow": "{{ $['corners']._.props.hideRadiusItem }}"
}
},
"Bleed Zone Square": {
"name": "Bleed Zone Square",
"visualizationPermissions": {
"noShow": "{{ $['corners']._.props.hideSquareItem }}"
}
}
}
]
}
}
```
* [DesignEditorWidgetCommand](designeditorwidgetcommand.md)
↳ **UpdateItems**
* IDesignAtomsCommand
* [Name](updateitems.md
* [name](updateitems.md
* [execute](updateitems.md
▪ **Name**: *"updateItems"* = "updateItems"
• **get name**(): *string*
**Returns:** *string*
▸ **execute**(`params`: [IUpdateItemsCommandDefinition](../interfaces/iupdateitemscommanddefinition.md)): *Promise‹void›*
*Overrides [DesignEditorWidgetCommand](designeditorwidgetcommand.md).[execute](designeditorwidgetcommand.md
**Parameters:**
Name | Type |
------ | ------ |
`params` | [IUpdateItemsCommandDefinition](../interfaces/iupdateitemscommanddefinition.md) |
**Returns:** *Promise‹void›*