Displays the new version's minor/major changes and the optional comment of a node in a Version Manager component.
<adf-version-upload [node]="myNode"></adf-version-upload>
| Name | Type | Default value | Description |
|---|---|---|---|
| newFileVersion | File | New file for updating current version. | |
| node | Node | The target node. | |
| showCancelButton | boolean | true | Toggles showing/hiding of cancel button. |
| showUploadButton | boolean | true | Toggles showing/hiding upload button. |
| currentVersion | void | Current version for a target node |
| Name | Type | Description |
|---|---|---|
| cancel | EventEmitter<any> | Emitted when an cancelling during upload. |
| commentChanged | EventEmitter<string> | Emitted when the comment is changed. |
| error | EventEmitter<FileUploadErrorEvent> | Emitted when an error occurs. |
| success | EventEmitter<any> | Emitted when the file is uploaded successfully. |
| uploadStarted | EventEmitter<FileUploadEvent> | Emitted when the upload starts |
| versionChanged | EventEmitter<boolean> | Emitted when the version is changed. |
This component is used by the Version Manager component to load and displays the new node's version choice - minor/major & comment.
© 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.