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> |