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