[]
        
(Showing Draft Content)

FrameIndexCommand

Class: FrameIndexCommand

Frame Index command.

Implements

Constructors

Constructor

new FrameIndexCommand(frameIndex, prevFrameIndex): FrameIndexCommand;

Constructor.

Parameters

frameIndex

number

prevFrameIndex

number

Returns

FrameIndexCommand

Properties

name

name: string;

Optional. The unique name of the command. Used by the undo.skipCommands option setting.

Implementation of

UndoCommandSupport.name

Methods

execute()

execute(viewer): Promise<void>;

Action implementation.

Parameters

viewer

GcImageViewer

Returns

Promise<void>

Implementation of

UndoCommandSupport.execute


undo()

undo(viewer): Promise<void>;

Undo action implementation.

Parameters

viewer

GcImageViewer

Returns

Promise<void>

Implementation of

UndoCommandSupport.undo