ASP.NET Pack Programmer's Guide
Diagram.undo Method
See Also
 





Undoes an action saved in the command history.

Namespace: MindFusion.Diagramming
Package: Diagram.js

 Syntax

JavaScript  Copy Code

function undo ()

 Remarks

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.

 See Also

Diagram Members
Diagram Class
MindFusion.Diagramming Namespace
UndoEnabled Property