mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-01 14:41:32 +00:00
[ADF-2135] Updated tables of contents and tools (#2820)
This commit is contained in:
committed by
Eugenio Romano
parent
9e706d68e4
commit
994041fb23
@@ -1,9 +1,11 @@
|
||||
# Comment list component
|
||||
|
||||
Shows a list of comments.
|
||||
|
||||

|
||||
|
||||
## Basic Usage
|
||||
|
||||
Populate the comments in the component class:
|
||||
|
||||
```ts
|
||||
@@ -39,7 +41,6 @@ export class SomeComponent implements OnInit {
|
||||
onClickCommentRow(comment: CommentProcessModel) {
|
||||
console.log('Clicked row: ', comment);
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
In the component template use the comment list component:
|
||||
@@ -54,16 +55,11 @@ In the component template use the comment list component:
|
||||
### Properties
|
||||
|
||||
| Name | Type | Default | Description |
|
||||
| --- | --- | --- | --- |
|
||||
| comments | CommentProcessModel[] | | The comments data used to populate the list |
|
||||
| ---- | ---- | ------- | ----------- |
|
||||
| comments | CommentProcessModel\[] | | The comments data used to populate the list |
|
||||
|
||||
### Events
|
||||
|
||||
| Name | Description |
|
||||
| --- | --- |
|
||||
| ---- | ----------- |
|
||||
| clickRow | Emitted when the user clicks on one of the comment rows |
|
||||
|
||||
|
||||
<!-- seealso start -->
|
||||
|
||||
<!-- seealso end -->
|
Reference in New Issue
Block a user