mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* move doc dependency in doctools * add ignore link * rebuild doc * version index * put it back some deps
31 lines
848 B
Markdown
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.
|
|
|
|

|
|
|
|
## 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. |
|