Back to Website
Show / Hide Table of Contents

Interface ICanvasDefinitionChangeMockup

Provides properties to change mockups. For details, you can refer to the ChangeMockup command.

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

Properties

after

The next commands to be executed after this command completes.

Declaration
after?: string | string[]
Property Value
Type Description
string | string[]

The next commands to be executed after this command completes.

data

Mockup settings.

Declaration
data: CustomersCanvas.IframeApi.ObjectModel.IMockupData[]
Property Value
Type Description
CustomersCanvas.IframeApi.ObjectModel.IMockupData[]

Mockup settings.

options

Declaration
options: Object
Property Value
Type Description
Object
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2024 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback