new UndoManager(scope, options)
Parameters:
| Name | Type | Description |
|---|---|---|
scope |
YType | The scope on which to listen for changes. |
options |
Object | Optionally provided configuration. |
Methods
-
flushChanges()
-
Enforce that the next change is created as a separate item in the undo stack
-
redo()
-
Redo the last locally created change.
-
undo()
-
Undo the last locally created change.