Returns an undo action object for an NgUndo reducer action.
undo
@Dispatchpublic undo() { return undo('test'); // Returns { type: '&_NG-UNDO', payload: { type: 'UNDO', propertyName: 'test' } }} Copy
@Dispatchpublic undo() { return undo('test'); // Returns { type: '&_NG-UNDO', payload: { type: 'UNDO', propertyName: 'test' } }}
The propertyName used to identify actions related to the NgUndo reducer.
An action object with a type and payload property for undoing a property state change.
Generated using TypeDoc
Returns an undo action object for an NgUndo reducer action.
Function
Name
undo
Example