Component | Description |
---|---|
MessageList | CometChatMessageList is a component that displays a list of Messages |
MessageComposer | CometChatMessageComposer is a component that helps in writing and editing of messages and also sending attachments |
onClose
of the ThreadedMesssage Component.
Component
. By using event you can extend existing functionality. Being global events, they can be applied in Multiple Locations and are capable of being Added or Removed.
The ThreadedMessages Component does not emit any events of its own.
threadedMessagesStyle
property.
ThreadedMessagesStyle
:
Methods | Description | Type |
---|---|---|
border | Used to set border | border?: string, |
borderRadius | Used to set border radius | borderRadius?: string; |
background | Used to set background colour | background?: string; |
height | Used to set height | height?: string; |
width | Used to set width | width?: string; |
titleFont | used to customise the font of the title in the app bar | titleFont?: string; |
titleColor | used to customise the color of the title in the app bar | titleColor?: string; |
closeIconTint | used to set the color of the close icon in the app bar | closeIconTint?: string; |
Property | Description | Code |
---|---|---|
parentMessage report | Used to to set the message for which the replies need to be fetched | parentMessage={parentMessage} |
Hide MessageComposer | Used to toggle visibility for CometChatMessageComposer, default false | hideMessageComposer={true} |
title | Used to set title in the app bar | title={getTitle()} |
closeIconURL | Used to set the icon to exit the widget | closeIconURL="your custom close icon url" |
bubbleView
, You can set parent message bubble view inside ThreadedMessage Component.
Example
Default
bubbleView
and apply custom styles on it.
messageActionView
method, you can assign custom actions to the parent message bubble view inside the ThreadedMessage Component.
Example
messageListView
property. But keep in mind, by using this you will override the default message ListView functionality.
messageComposerView
property. But keep in mind, by using this you will override the default message composer functionality.
Example
MessageListConfiguration
object.
MessageListConfiguration
provides access to all the Action, Filters, Styles, Functionality, and Advanced properties of the MessageList component.
MessageListConfiguration
.
MessageComposerConfiguration
object.
MessageComposerConfiguration
provides access to all the Action, Filters, Styles, Functionality, and Advanced properties of the MessageComposer component.
MessageComposerConfiguration
.