Back to Website
Show / Hide Table of Contents

Class BringItemsCommand

Inheritance
BaseItemsCommand<IBringItemsCommandArgs, void>
BringItemsCommand
Package: @aurigma/design-atoms

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
Type Name Description
ProductHandler productHandler
IHistoryArgs historyArgs
IBringItemsCommandArgs args
CommandManager _commandManager
Canvas _canvas

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
Type Description
void

bringItems(items, position)

Declaration
bringItems(items: Array<Item>, position: string): void;
Parameters
Type Name Description
Array<Item> items
string position
Returns
Type Description
void

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