packages/components/eui-comment-thread/eui-comment-thread.component.ts
| changeDetection | ChangeDetectionStrategy.OnPush |
| selector | eui-comment-thread |
| imports |
TranslateModule
NgTemplateOutlet
EUI_TEXTAREA
EUI_AVATAR
EUI_BUTTON
EUI_ICON
EuiCommentTextareaComponent
|
| styleUrls | ./styles/_index.scss |
| templateUrl | ./eui-comment-thread.component.html |
Properties |
Methods |
|
Inputs |
Outputs |
HostBindings |
Accessors |
| currentAuthorAvatarUrl |
Type : string
|
Default value : null
|
| hasTextarea |
Type : boolean
|
Default value : true
|
| isCollapsable |
Type : boolean
|
Default value : true
|
| isOpen |
Type : boolean
|
Default value : false
|
| placeholder |
Type : string
|
Default value : 'eui.ADD-A-COMMENT'
|
| textareaPosition |
Default value : 'top'
|
| commentCancel |
Type : EventEmitter
|
| commentSend |
Type : EventEmitter
|
| class |
Type : string
|
| Public onCommentCancel |
onCommentCancel()
|
|
Returns :
void
|
| Public onCommentSend | ||||||
onCommentSend(comment: string)
|
||||||
|
Parameters :
Returns :
void
|
| Public onToggleOpen |
onToggleOpen()
|
|
Returns :
void
|
| subCommentItems |
Type : QueryList<EuiCommentItemComponent>
|
Decorators :
@ContentChildren(EuiCommentItemComponent)
|
| cssClasses |
getcssClasses()
|
| nbSubCommentItems |
getnbSubCommentItems()
|