UI Framework ReferenceUpdateItems

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"

Defined in src/widgets/au-widget-design-atoms/Commands/UpdateItems.ts:9

Accessors

name

get name(): string

Defined in src/widgets/au-widget-design-atoms/Commands/UpdateItems.ts:15

Returns:string

Methods

execute

execute(params: IUpdateItemsCommandDefinition): Promise‹void›

Overrides DesignEditorWidgetCommand.execute

Defined in src/widgets/au-widget-design-editor/Commands/update-items.ts:40

Parameters:

Name Type
params IUpdateItemsCommandDefinition

Returns:Promise‹void›