mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
1.2 KiB
1.2 KiB
Added, Status
| Added | Status |
|---|---|
| v2.0.0 | Experimental |
Version List component
Displays the version history of a node in a Version Manager component
Basic Usage
<adf-version-list [node]="myNode"></adf-version-list>
Properties
| Name | Type | Default value | Description |
|---|---|---|---|
| node | MinimalNodeEntryEntity |
Node whose version history you want to display. | |
| showComments | boolean |
true | Set this to false if version comments should not be displayed. |
| allowDownload | boolean |
true | Toggles downloads of previous versions. Set this to false to not show the menu item for version download. |
DOM events
All DOM events are bubbling and can be handled in the parent components up to the root application component.
| Name | Description |
|---|---|
| version-deleted | Raised after a version is deleted. |
| version-restored | Raised after a version is restored. |
Details
Inside the version manager component, there is the underlying VersionListComponent. The VersionListComponent loads and displays the version history of a node.