au-widget-design-editor/Commands/duplicate-surfaces-command
Classes
DuplicateSurfacesCommand
A command that duplicates one surface to several other surfaces.
{
"type": "design-editor",
"name": "editor",
"params": {
"initial": { ... },
"duplicateSurfaces": `[{
"surfaceToDuplicateId": 0,
"surfacesToChangeIds": [ 1 ]
}]`
}
}
Extends
Methods
execute()
execute(params): Promise<void>;
Executes this command.
Parameters
| Parameter | Type | Description |
|---|---|---|
params | IDuplicateSurfacesCommandDefinition | Parameters for the command. |
Returns
Promise<void>