alfresco-ng2-components/docs/content-services/components/version-comparison.component.md
Eugenio Romano d7db9adbf6
Update Doc 4.1.0 (#6215)
* docbuild

* docbuild

* doc license audit

* remove link redirect to testing
2020-10-08 18:33:57 +01:00

31 lines
1.3 KiB
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. |