IgcChatComponentEventMap
Defines the custom events dispatched by the chat component.
Properties
Section titled "Properties"igcAttachmentAdded
Section titled "igcAttachmentAdded"Dispatched when the user adds attachments with drag and drop or with the default file input. Cancelable: a canceled event does not add them.
igcAttachmentAdded: CustomEvent<IgcChatMessageAttachment[]> Defined in src/components/chat/chat.ts:90
igcAttachmentClick
Section titled "igcAttachmentClick"Dispatched when the user clicks the header of a message attachment.
igcAttachmentClick: CustomEvent<IgcChatMessageAttachment> Defined in src/components/chat/chat.ts:77
igcAttachmentDrag
Section titled "igcAttachmentDrag"Dispatched when the user drags files into the input area.
igcAttachmentDrag: CustomEvent<void> Defined in src/components/chat/chat.ts:103
igcAttachmentDrop
Section titled "igcAttachmentDrop"Dispatched when the user drops files on the input area.
igcAttachmentDrop: CustomEvent<void> Defined in src/components/chat/chat.ts:109
igcAttachmentRemoved
Section titled "igcAttachmentRemoved"Dispatched when the user removes an attachment from the input. Cancelable: a canceled event keeps the attachment.
igcAttachmentRemoved: CustomEvent<IgcChatMessageAttachment> Defined in src/components/chat/chat.ts:97
igcInputBlur
Section titled "igcInputBlur"Dispatched when the chat input field loses focus.
igcInputBlur: CustomEvent<void> Defined in src/components/chat/chat.ts:124
igcInputChange
Section titled "igcInputChange"Dispatched when the content of the chat input changes.
igcInputChange: CustomEvent<string> Defined in src/components/chat/chat.ts:129
igcInputFocus
Section titled "igcInputFocus"Dispatched when the chat input field gains focus.
igcInputFocus: CustomEvent<void> Defined in src/components/chat/chat.ts:119
igcMessageCreated
Section titled "igcMessageCreated"Dispatched when the user sends a message, also with a click on a suggestion. Cancelable: a canceled event does not add the message.
igcMessageCreated: CustomEvent<IgcChatMessage> Defined in src/components/chat/chat.ts:67
igcMessageReact
Section titled "igcMessageReact"Dispatched when the user clicks an action button of a message, for example like or copy.
igcMessageReact: CustomEvent<IgcChatMessageReaction> Defined in src/components/chat/chat.ts:72
igcNavigate
Section titled "igcNavigate"Dispatched when a plain click or Enter opens a link in a message in the same tab, before the browser navigates. Cancel it to route on the client. Does not bubble.
igcNavigate: CustomEvent<IgcChatMessageLink> Defined in src/components/chat/chat.ts:83
igcTypingChange
Section titled "igcTypingChange"Dispatched when the user starts or stops typing. The detail is true while the user types.
igcTypingChange: CustomEvent<boolean> Defined in src/components/chat/chat.ts:114