mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
* [ADF-3323] Moved source file parsing to main doc tool * [ADF-3323] Moved source info classes * [ADF-3323] Added doc YAML generator tool * [ADF-3323] Added doc YAML/JSON source paths to gitignore * [ADF-3323] Completed templates and template context code * [ADF-3323] Added source paths and updated type linker * [ADF-3323] Final fixes to templates and type linking * [ADF-3323] Fixed filter for private and protected methods * [ADF-3323] Content services docs after check and rebuild * [ADF-3323] Updated docbuild script in package.json
43 lines
1.2 KiB
Markdown
43 lines
1.2 KiB
Markdown
---
|
|
Added: v2.0.0
|
|
Status: Experimental
|
|
Last reviewed: 2018-05-08
|
|
---
|
|
|
|
# Version List component
|
|
|
|
Displays the version history of a node in a [Version Manager component](../content-services/version-manager.component.md).
|
|
|
|
### Basic Usage
|
|
|
|
```html
|
|
<adf-version-list [node]="myNode"></adf-version-list>
|
|
```
|
|
|
|
## Class members
|
|
|
|
### Properties
|
|
|
|
| Name | Type | Default value | Description |
|
|
| ---- | ---- | ------------- | ----------- |
|
|
| allowDownload | `boolean` | true | Enable/disable downloading a version of the current node. |
|
|
| id | `string` | | (**Deprecated:** in 2.3.0) |
|
|
| node | [`MinimalNodeEntryEntity`](../content-services/document-library.model.md) | | The target node. |
|
|
| showActions | `boolean` | true | Toggles showing/hiding of version actions |
|
|
| showComments | `boolean` | true | Toggles showing/hiding of comments |
|
|
|
|
## Details
|
|
|
|
This component is used by the [Version Manager component](../content-services/version-manager.component.md) to
|
|
load and displays the version history of a node.
|
|
|
|
If you want show readonly version list you set this component with showActions false:
|
|
|
|
```html
|
|
<adf-version-list [node]="myNode" [showActions]="false" ></adf-version-list>
|
|
```
|
|
|
|
## See also
|
|
|
|
- [Version manager component](version-manager.component.md)
|