Undoes an action saved in the command history.
Namespace: MindFusion.Diagramming
Package: Diagram.js
JavaScript Copy Code |
---|
function undo () |
The control supports unlimited undo/redo depth. This method moves the "current command" pointer one position back, and calling it again will undo the previous command. The commands can later be redone by calling redo.