Back to Website
Show / Hide Table of Contents

Class CloneItemsCommand

Inheritance
BaseItemsCommand<ICloneItemsCommandArgs, void>
CloneItemsCommand
Package: @aurigma/design-atoms

Constructors

(constructor)(productHandler, historyArgs, args, _commandManager, _variableItemHelper)

Constructs a new instance of the CloneItemsCommand class

Declaration
constructor(productHandler: ProductHandler, historyArgs: IHistoryArgs, args: ICloneItemsCommandArgs, _commandManager: CommandManager, _variableItemHelper: VariableItemHelper);
Parameters
Type Name Description
ProductHandler productHandler
IHistoryArgs historyArgs
ICloneItemsCommandArgs args
CommandManager _commandManager
VariableItemHelper _variableItemHelper

Methods

_executeCommandBody()

Declaration
_executeCommandBody(): Promise<void>;
Returns
Type Description
Promise<void>

cloneItem(item)

Declaration
cloneItem(item: Item): Item;
Parameters
Type Name Description
Item item
Returns
Type Description
Item

redo()

Declaration
redo(): Promise<void>;
Returns
Type Description
Promise<void>

undo()

Declaration
undo(): Promise<void>;
Returns
Type Description
Promise<void>
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback