Back to Website
Show / Hide Table of Contents

Class DuplicateSurfacesCommand

A command that duplicates one surface to several other surfaces.

{
  "type": "design-editor",
  "name": "editor",
  "params": {
    "initial": { ... },
    "duplicateSurfaces": [{
        "surfaceToDuplicateId": 0,
        "surfacesToChangeIds": [ 1 ]
    }]
  }
}
Package: ui-framework

Methods

execute(IDuplicateSurfacesCommandDefinition)

Executes this command.

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

Parameters for the command.

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