Function clearHistory

  • Returns a clear history action object for an NgUndo reducer action.

    Function

    Name

    clearHistory

    Example

    @Dispatch
    public clearHistory() {
    return clearHistory('test');
    // Returns { type: '&_NG-UNDO', payload: { type: 'CLEAR_HISTORY', propertyName: 'test' } }
    }

    Parameters

    • propertyName: string

      The propertyName used to identify actions related to the NgUndo reducer.

    Returns any

    An action object with a type and payload property for clearing the property state change history.

Generated using TypeDoc