Class BringItemsCommand
Inheritance
BringItemsCommand
Constructors
(constructor)(productHandler, historyArgs, args, _commandManager, _canvas)
Constructs a new instance of the BringItemsCommand class
Declaration
constructor(productHandler: ProductHandler, historyArgs: IHistoryArgs, args: IBringItemsCommandArgs, _commandManager: CommandManager, _canvas: Canvas);
Parameters
Methods
_executeCommandBody()
Declaration
_executeCommandBody(): Promise<void>;
Returns
| Type |
Description |
| Promise<void> |
|
bringItem(item, position, needUpdate)
Declaration
bringItem(item: Item, position: string, needUpdate?: boolean): void;
Parameters
| Type |
Name |
Description |
| Item |
item |
|
| string |
position |
|
| boolean |
needUpdate |
|
Returns
bringItems(items, position)
Declaration
bringItems(items: Array<Item>, position: string): void;
Parameters
| Type |
Name |
Description |
| Array<Item> |
items |
|
| string |
position |
|
Returns
redo()
Declaration
Returns
| Type |
Description |
| Promise<void> |
|
undo()
Declaration
Returns
| Type |
Description |
| Promise<void> |
|