UI Framework ReferenceIDesignEditorDefinitionChangeMockup

Interface: IDesignEditorDefinitionChangeMockup

Provides properties to change mockups.

For details, you can refer to the ChangeMockup command.

{
  "type": "design-editor",
  "name": "editor",
  "params": {
    "initial": { ... },
    "changeMockup": [{
      "data": {
        "mockup": {
          "down": "{{$['color']._.props.mockup}}"
        },
        "previewMockups": "{{$['color']._.props.previews}}"
      }
    }]
  }
}

Hierarchy

Index

Properties

Properties

Optional after

after? : string | string[]

Inherited from IDesignEditorCommandDefinition.after

Defined in src/widgets/au-widget-design-editor/IAuWidgetDesignEditor.ts:32

The next commands to be executed after this command completes.


data

data: CustomersCanvas.IframeApi.ObjectModel.IMockupData[]

Defined in src/widgets/au-widget-design-editor/IAuWidgetDesignEditor.ts:319

Mockup settings.


options

options: object

Defined in src/widgets/au-widget-design-editor/IAuWidgetDesignEditor.ts:320

Type declaration:

  • addToHistory: boolean

  • updateRevertData: boolean