IUndoEnhancedState
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Slice that can be undo-enabled needs to include the undo section which will contain the essential undo metadata.
export interface IUndoEnhancedState<T extends IDashboardCommand = IDashboardCommand>
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
{ undoPointer: number; undoStack: IUndoEntry<T>[]; } | (ALPHA) |
Property details
IUndoEnhancedState._undopropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
_undo: {
undoPointer: number;
undoStack: IUndoEntry<T>[];
};