File

packages/components/eui-comment-thread/comment-item/eui-comment-item.component.ts

Implements

AfterContentInit

Metadata

Index

Properties
Methods
Inputs
Outputs
HostBindings
Accessors

Inputs

authorAvatarUrl
Type : string
Default value : null
authorName
Type : string
Default value : null
commentCharLimit
Type : number
Default value : 500
createdAt
Type : string
Default value : null
currentAuthorAvatarUrl
Type : string
Default value : null
hasChildren
Type : boolean
Default value : false
isOpen
Type : boolean
Default value : false

Outputs

commentCancel
Type : EventEmitter
commentSend
Type : EventEmitter

HostBindings

class
Type : string

Methods

Public onCommentCancel
onCommentCancel()
Returns : void
Public onCommentSend
onCommentSend(comment: string)
Parameters :
Name Type Optional
comment string No
Returns : void
Public onToggleOpen
onToggleOpen()
Returns : void
Public onToggleReplyInput
onToggleReplyInput(e: MouseEvent)
Parameters :
Name Type Optional
e MouseEvent No
Returns : void
toggleExpanded
toggleExpanded(e: MouseEvent)
Parameters :
Name Type Optional
e MouseEvent No
Returns : void

Properties

comment
Type : ElementRef<HTMLElement>
Decorators :
@ViewChild('comment', {static: true})
Public fullText
Type : string
Default value : ''
Public isExpanded
Type : unknown
Default value : false
Public isTruncated
Type : unknown
Default value : false
Public isVisibleReplyInput
Type : unknown
Default value : false
subCommentItems
Type : QueryList<EuiCommentItemComponent>
Decorators :
@ContentChildren(EuiCommentItemComponent)
Public truncatedText
Type : string
Default value : ''

Accessors

cssClasses
getcssClasses()
nbSubCommentItems
getnbSubCommentItems()

results matching ""

    No results matching ""