mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2847] Added Class members headings and rebuilt prop/method tables for docs (#3240)
* [ADF-2847] Added class members heading to content services docs * [ADF-2847] Updated all prop/method tables in content services
This commit is contained in:
committed by
Eugenio Romano
parent
616036f9e7
commit
2c0e7aa035
@@ -2,6 +2,7 @@
|
||||
Added: v2.0.0
|
||||
Status: Experimental
|
||||
---
|
||||
|
||||
# Version List component
|
||||
|
||||
Displays the version history of a node in a Version Manager component
|
||||
@@ -12,22 +13,16 @@ Displays the version history of a node in a Version Manager component
|
||||
<adf-version-list [node]="myNode"></adf-version-list>
|
||||
```
|
||||
|
||||
## Class members
|
||||
|
||||
### 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. |
|
||||
| -- | -- | -- | -- |
|
||||
| allowDownload | `boolean` | true | Enable/disable possibility to download a version of the current node. |
|
||||
| id | `string` | | **Deprecated:** in 2.3.0 |
|
||||
| node | `MinimalNodeEntryEntity` | | |
|
||||
| showComments | `boolean` | true | |
|
||||
|
||||
## Details
|
||||
|
||||
|
Reference in New Issue
Block a user