Francesco Corti 5a4cc4edda
Release Note for 4.2 - Initial draft. (#6390)
* Release Note for 4.2 - Initial draft.

* update dep

* documentation

* fix

* remove script

* lint

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-12-07 21:03:41 +00:00

1.8 KiB

Title, Added, Status, Last reviewed
Title Added Status Last reviewed
Version Upload component v4.1.0 Experimental 2020-11-06

Version Upload component

Displays the new version's minor/major changes and the optional comment of a node in a Version Manager component.

Basic Usage

<adf-version-upload [node]="myNode"></adf-version-upload>

Class members

Properties

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.

Events

Name Type Description
cancel EventEmitter<any> Emitted when an cancelling during upload.
commentChanged EventEmitter<string> Emitted when the comment is changed.
error EventEmitter<any> Emitted when an error occurs.
success EventEmitter<any> Emitted when the file is uploaded successfully.
versionChanged EventEmitter<boolean> Emitted when the version is changed.

Details

This component is used by the Version Manager component to load and displays the new node's version choice - minor/major & comment.

See also