alfresco-ng2-components/docs/content-services/components/version-comparison.component.md
Eugenio Romano c3452a4f62
Documentation build (#6762)
* move doc dependency in doctools

* add ignore link

* rebuild doc

* version index

* put it back some deps
2021-03-03 14:08:15 +00:00

31 lines
848 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` | | Target node. |