alfresco-ng2-components/docs/content-services/components/version-comparison.component.md
Francesco Corti 5a4cc4edda
Release Note for 4.2 - Initial draft. (#6390)
* Release Note for 4.2 - Initial draft.

* update dep

* documentation

* fix

* remove script

* lint

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-12-07 21:03:41 +00:00

31 lines
926 B
Markdown

---
Title: Version Comparison Component
Added: v3.9.0
Status: Active
Last reviewed: 2020-06-04
---
# [Version Comparison Component](../../../lib/content-services/src/lib/version-manager/version-comparison.component.ts "Defined in version-comparison.component.ts")
Displays the side by side comparison between the current target node (type, name, icon) and the new file that should update it's version.
![Version Comparison](../../docassets/images/version-comparison.png)
## Basic Usage
```html
<adf-version-comparison
[node]="aNode"
[newFileVersion]="aNewFileVersion">
</adf-version-comparison>
```
## Class members
### Properties
| Name | Type | Default value | Description |
| --- | --- | --- | --- |
| newFileVersion | `File` | | New file for updating current version. |
| node | [`Node`](https://github.com/Alfresco/alfresco-js-api/blob/develop/src/api/content-rest-api/docs/Node.md) | | Target node. |