Skip to main content

au-widget-design-editor/Commands/set-remote-mockup-command

Classes

SetRemoteMockupCommand

A command that changes mockups by direct URLs.

For details, you can refer to the ISetRemoteMockupParams.

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

Extends

Methods

execute()
execute(params): Promise<void>;

Executes this command.

Parameters
ParameterTypeDescription
paramsISetRemoteMockupParamsParameters for the command.
Returns

Promise<void>

Overrides

DesignEditorWidgetCommand.execute

Was this page helpful?