Skip to main content

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
ParameterTypeDescription
paramsIDuplicateSurfacesCommandDefinitionParameters for the command.
Returns

Promise<void>

Overrides

DesignEditorWidgetCommand.execute

Was this page helpful?