Displays the version history of a node in a Version Manager component.
<adf-version-list [node]="myNode"></adf-version-list>
Name | Type | Default value | Description |
---|---|---|---|
allowDownload | boolean | true | Enable/disable downloading a version of the current node. |
allowViewVersions | boolean | true | Enable/disable viewing a version of the current node. |
node | Node | The target node. | |
showActions | boolean | true | Toggles showing/hiding of version actions |
showComments | boolean | true | Toggles showing/hiding of comments |
Name | Type | Description |
---|---|---|
deleted | EventEmitter <Node> | Emitted when a version is deleted |
restored | EventEmitter <Node> | Emitted when a version is restored |
viewVersion | EventEmitter <string> | Emitted when viewing a version |
This component is used by the Version Manager component to load and displays the version history of a node.
If you want show readonly version list you set this component with showActions false:
<adf-version-list [node]="myNode" [showActions]="false" ></adf-version-list>
© 2023 Alfresco Software, Inc. All Rights Reserved.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.