mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[ADF-2764] Applied new doc tool features to core library (#3383)
This commit is contained in:
committed by
Eugenio Romano
parent
5831bc1d77
commit
41777e0540
@@ -2,6 +2,7 @@
|
||||
Added: v2.0.0
|
||||
Status: Active
|
||||
---
|
||||
|
||||
# Comment list component
|
||||
|
||||
Shows a list of comments.
|
||||
@@ -47,7 +48,7 @@ export class SomeComponent implements OnInit {
|
||||
}
|
||||
```
|
||||
|
||||
In the component template use the comment list component:
|
||||
In the component template use the [comment list component](../core/comment-list.component.md):
|
||||
|
||||
```html
|
||||
<adf-comment-list
|
||||
@@ -61,11 +62,11 @@ In the component template use the comment list component:
|
||||
### Properties
|
||||
|
||||
| Name | Type | Default value | Description |
|
||||
| ---- | ---- | ------------- | ----------- |
|
||||
| comments | `any[]` | | The comments data used to populate the list. |
|
||||
| -- | -- | -- | -- |
|
||||
| comments | [`CommentModel[]`](../../lib/core/models/comment.model.ts) | | The comments data used to populate the list. |
|
||||
|
||||
### Events
|
||||
|
||||
| Name | Type | Description |
|
||||
| ---- | ---- | ----------- |
|
||||
| clickRow | `EventEmitter<any>` | Emitted when the user clicks on one of the comment rows. |
|
||||
| -- | -- | -- |
|
||||
| clickRow | [`EventEmitter<CommentModel>`](../../lib/core/models/comment.model.ts) | Emitted when the user clicks on one of the comment rows. |
|
||||
|
||||
Reference in New Issue
Block a user