Skip to main content

Overview

Events allow for a decoupled, flexible architecture where different parts of the application can interact without having to directly reference each other. This makes it easier to create complex, interactive experiences, as well as to extend and customize the functionality provided by the CometChat UI Kit. All components have the ability to emit events. These events are dispatched in response to certain changes or user interactions within the component. By emitting events, these components allow other parts of the application to react to changes or interactions, thus enabling dynamic and interactive behavior within the application.

CometChatConversationEvents

CometChatConversationEvents emits events when the logged-in user executes some action on a conversation object.

CometChatUserEvents

CometChatUserEvents emits events when the logged-in user executes some action on an user object. It consists of the following events:

CometChatGroupEvents

CometChatGroupEvents emits events when the logged-in user executes some action on a group object. It consists of the following events:

CometChatMessageEvents

CometChatMessageEvents emits events when the logged-in user executes some action on a message object. It consists of the following events:

CometChatCallEvents

CometChatCallEvents emits events when the logged-in user executes some action on a call object. It consists of the following events:

UI events

UI events, refer to actions or interactions performed by a user within the CometChat’s UI Kit. These events are triggered when a user interacts with various UI elements, such as buttons, menus, checkboxes, input fields, or any other interactive components. It consists of the following events: