Class: UpdateImageSourceCommand
An abstract base class from which to extend all potential element commands. These commands follow the command design pattern in software development. To learn more about this pattern take a look at the following link.
https://sourcemaking.com/design_patterns/command
Extends
Constructors
Constructor
new UpdateImageSourceCommand(
id,src):UpdateImageSourceCommand
Parameters
id
string
src
string
Returns
UpdateImageSourceCommand
Overrides
Properties
sequenceId?
optionalsequenceId?:string
Inherited from
Methods
apply()
apply(
state):LayoutsState
Parameters
state
Returns
Overrides
overrideOldState()
overrideOldState(
state):void
Parameters
state
Returns
void
Inherited from
CanvasCommand.overrideOldState
undo()
undo():
LayoutsState