alfresco-ng2-components/docs/content-services/version-list.component.md
Eugenio Romano 7d061b2c11
[ADF-1873] Remove all deprecated code from ADF (#4145)
* remove deprecated code part 1

* remove deprecation step 2

* fix spellcheck

* fix

* fix lint

* fix not used import

* remove deprecation

* fix test first part after remove deprecation

* fix test

* fix sidebar demo shell
2019-01-15 15:36:01 +00:00

1.8 KiB

Title, Added, Status, Last reviewed
Title Added Status Last reviewed
Version List component v2.0.0 Experimental 2018-05-08

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>

Class members

Properties

Name Type Default value Description
allowDownload boolean true Enable/disable downloading a version of the current node.
node MinimalNodeEntryEntity The target node.
showActions boolean true Toggles showing/hiding of version actions
showComments boolean true Toggles showing/hiding of comments

Events

Name Type Description
deleted EventEmitter<MinimalNodeEntryEntity> Emitted when a version is deleted
restored EventEmitter<MinimalNodeEntryEntity> Emitted when a version is restored

Details

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>

See also