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:68

Dispatched when a chat message attachment is clicked.

igcAttachmentClick: CustomEvent<IgcChatMessageAttachment>

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

Dispatched during an attachment drag operation.

igcAttachmentDrag: CustomEvent<void>

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

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

igcAttachmentDrop: CustomEvent<void>

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

Dispatched when an attachment is removed by the user.

igcAttachmentRemoved: CustomEvent<IgcChatMessageAttachment>

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

Dispatched when the chat input field loses focus.

igcInputBlur: CustomEvent<void>

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

Dispatched when the content of the chat input changes.

igcInputChange: CustomEvent<string>

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

Dispatched when the chat input field gains focus.

igcInputFocus: CustomEvent<void>

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

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

igcMessageCreated: CustomEvent<IgcChatMessage>

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

Dispatched when a message is reacted to.

igcMessageReact: CustomEvent<IgcChatMessageReaction>

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

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

igcTypingChange: CustomEvent<boolean>

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