Back to Website
Show / Hide Table of Contents

Class SetRemoteMockupCommand

A command that changes mockups by direct URLs. A command that changes mockups by direct URLs. For details, you can refer to ISetRemoteMockupParams.

{
  "type": "canvas",
  "name": "editor",
  "params": {
    "initial": { ... },
    "setRemoteMockup": [{
      "surfaceIndex": 0,
      "mockup": "down",
      "url": "http://example.com/mockup.png"
    }]
  }
}

For details, you can refer to ISetRemoteMockupParams.

{
  "type": "design-editor",
  "name": "editor",
  "params": {
    "initial": { ... },
    "setRemoteMockup": [{
      "surfaceIndex": 0,
      "mockup": "down",
      "url": "http://example.com/mockup.png"
    }]
  }
}
Package: ui-framework

Methods

execute(ISetRemoteMockupParams)

Executes this command.

Declaration
function execute(params: ISetRemoteMockupParams)
Parameters
Type Name Description
ISetRemoteMockupParams params

Parameters for the command.

Returns
Type Description
Promise<any>
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