TrophyCustomer's Canvas is honored with a 2020 InterTech Technology Award! Learn more 

Class: UpdateItems

A command that updates channel containers with new parameters.

For details, you can refer to the IUpdateItemsCommandDefinition.

{
  "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 }}"
          }
        }
      }
    ]
  }
}

Hierarchy

Implements

  • IDesignAtomsCommand

Index

Properties

Accessors

Methods

Properties

Static Name

Name: "updateItems" = "updateItems"

Accessors

name

get name(): string

Returns:string

Methods

execute

execute(params: IUpdateItemsCommandDefinition): Promise‹void›

Overrides DesignEditorWidgetCommand.execute

Parameters:

Name Type
params IUpdateItemsCommandDefinition

Returns:Promise‹void›