IgcChatComponentEventMap

Defines the custom events dispatched by the chat component.

Dispatched when attachment(s) are added either through drag & drop or through the default file input.

igcAttachmentAdded: CustomEvent<IgcChatMessageAttachment[]>

Defined in src/components/chat/chat.ts:69

Dispatched when a chat message attachment is clicked.

igcAttachmentClick: CustomEvent<IgcChatMessageAttachment>

Defined in src/components/chat/chat.ts:62

Dispatched during an attachment drag operation.

igcAttachmentDrag: CustomEvent<void>

Defined in src/components/chat/chat.ts:81

Dispatched when an attachment is dropped (e.g., in a drag-and-drop operation).

igcAttachmentDrop: CustomEvent<void>

Defined in src/components/chat/chat.ts:87

Dispatched when an attachment is removed by the user.

igcAttachmentRemoved: CustomEvent<IgcChatMessageAttachment>

Defined in src/components/chat/chat.ts:75

Dispatched when the chat input field loses focus.

igcInputBlur: CustomEvent<void>

Defined in src/components/chat/chat.ts:102

Dispatched when the content of the chat input changes.

igcInputChange: CustomEvent<string>

Defined in src/components/chat/chat.ts:107

Dispatched when the chat input field gains focus.

igcInputFocus: CustomEvent<void>

Defined in src/components/chat/chat.ts:97

Dispatched when a new chat message is created (sent).

igcMessageCreated: CustomEvent<IgcChatMessage>

Defined in src/components/chat/chat.ts:52

Dispatched when a message is reacted to.

igcMessageReact: CustomEvent<IgcChatMessageReaction>

Defined in src/components/chat/chat.ts:57

Dispatched when the typing status changes (e.g., user starts or stops typing).

igcTypingChange: CustomEvent<boolean>

Defined in src/components/chat/chat.ts:92