[ADF-2135] Updated tables of contents and tools (#2820)

This commit is contained in:
Andy Stark
2018-01-11 10:15:00 +00:00
committed by Eugenio Romano
parent 9e706d68e4
commit 994041fb23
23 changed files with 353 additions and 464 deletions

View File

@@ -1,9 +1,11 @@
# Comment list component
Shows a list of comments.
![ADF Comment List](docassets/images/adf-comment-list.png)
## 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 -->