mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
* add majorVersion param move common part in base class * refactor upload queue * fix after refactoring * add comment functionality in versioning add minor and major option in versioning add animation in versioning add new functionality in demo shell * add animation test * add missing properties test and base upload class * fix reload after new version upload [ADF-2582] * update documentation * update doc and fix minor style issues * fix tslint error * change cachebuster * ADF-2672 version manager disable buttons * [ADF-2649] hide show actions in version list * fix tests
36 lines
894 B
Markdown
36 lines
894 B
Markdown
---
|
|
Added: v2.0.0
|
|
Status: Experimental
|
|
---
|
|
|
|
# Version List component
|
|
|
|
Displays the version history of a node in a Version Manager component
|
|
|
|
### Basic Usage
|
|
|
|
```html
|
|
<adf-version-list [node]="myNode"></adf-version-list>
|
|
```
|
|
|
|
## Class members
|
|
|
|
### Properties
|
|
|
|
| Name | Type | Default value | Description |
|
|
| -- | -- | -- | -- |
|
|
| allowDownload | `boolean` | true | Enable/disable possibility to download a version of the current node. |
|
|
| id | `string` | | **Deprecated:** in 2.3.0 |
|
|
| node | `MinimalNodeEntryEntity` | | |
|
|
| showActions | `boolean` | true | show/hide version actions |
|
|
| showComments | `boolean` | true | show/hide comments |
|
|
|
|
## Details
|
|
|
|
Inside the version manager component, there is the underlying VersionListComponent.
|
|
The VersionListComponent loads and displays the version history of a node.
|
|
|
|
## See also
|
|
|
|
- [Version manager component](version-manager.component.md)
|