Interface: UndoSingleEvent
An undo/redo single event.
Properties
actionName
readonly actionName: string;
Name of the action that was invoked.
inversePatches
readonly inversePatches: readonly Patch[];
Patches to undo the changes done inside the action.
Use undo() in the UndoManager to apply them.
patches
readonly patches: readonly Patch[];
Patches with changes done inside the action.
Use redo() in the UndoManager to apply them.
targetPath
readonly targetPath: Path;
Path to the object that invoked the action from its root.
type
readonly type: Single;
Expresses this is a single event.