UI Framework ReferenceICanvasDefinitionModifyItems

Interface: ICanvasDefinitionModifyItems

Provides properties to change properties of design elements in the editor.

For details, you can refer to the ModifyItems command.

{
  "type": "canvas",
  "name": "editor",
  "params": {
    "initial": { ... },
    "modifyItems": {
      "items": {
        "Name": {
          "value": "Neo"
        },
        "Company": {
          "value": "Matrix"
        }
      }
    }
  }
}

Hierarchy

Index

Properties

Properties

Optional after

after? : string | string[]

Inherited from ICanvasCommandDefinition.after

Overrides IDesignEditorCommandDefinition.after

Defined in src/widgets/au-widget-canvas/IAuWidgetCanvas.ts:30

The next commands to be executed after this command completes.


Optional every

every? : CanvasItemChanges

Defined in src/widgets/au-widget-canvas/models/ICanvasDefinitionModifyItems.ts:30

Defined in src/widgets/au-widget-design-editor/models/ICanvasDefinitionModifyItems.ts:6

Changes for every canvas item. Changes for every canvas item.


items

items: object

Defined in src/widgets/au-widget-canvas/models/ICanvasDefinitionModifyItems.ts:33

Defined in src/widgets/au-widget-design-editor/models/ICanvasDefinitionModifyItems.ts:9

Changes for specific items. Changes for specific items.

Type declaration:

  • [ itemName: string]: CanvasItemChanges