Search
ChangeItemCommand Class
Remarks See Also
 





Handles undo / redo of property changes.

Namespace: MindFusion.Diagramming
Package: ChangeItemCommand.js

 Syntax

JavaScript  Copy Code

// class
ChangeItemCommand.prototype = {}

 Remarks

The ChangeItemCommand constructor records the state of an item, and its undo and redo methods restore the item to either its old or new state.

 Example

See executeCommand for an example showing how item's state is saved for later undo / redo.

 Inheritance Hierarchy

MindFusion.Diagramming.Command
    MindFusion.Diagramming.ChangeItemCommand

 See Also