Handles undo / redo of property changes.
Namespace: MindFusion.Diagramming
File: ChangeItemCommand.js
JavaScript Copy Code |
---|
// class |
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.
See executeCommand for an example showing how item's state is saved for later undo / redo.
MindFusion.Diagramming.Command
MindFusion.Diagramming.ChangeItemCommand
MindFusion.Diagramming for JavaScript Programmer's Guide | © 2024 MindFusion |