mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* fix app config, add extra flags for version manager * add docs and tests * update i18n strings * rename "id" to "nodeId" * automatically detect permissions * restore 'id' and mark as deprecated
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 [id]="nodeId"></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.