Methods
withCustomUndoRedo
- withCustomUndoRedo<T>(unitId: string, customAction: { action: any; undoAction: any }): T
Type parameters
Parameters
unitId: string
customAction: { action: any; undoAction: any }
action:function
undoAction:function
Returns T
withoutUndo
- withoutUndo<T>(performAction: () => T): T
Type parameters
Parameters
Returns T