MentionSelectEventArgs
12 Sep 20251 minute to read
Properties
cancel boolean
Specifies whether the default mention insertion behavior should be canceled.
Set to true to prevent the selected mention from being inserted into the chat input field, allowing custom handling of the mention selection.
event MouseEvent|KeyboardEvent|TouchEvent
The native event that triggered the mention selection.
This can be a mouse event (e.g., clicking a user in the suggestion popup), a keyboard event (e.g., pressing Enter to select), or a touch event (e.g., tapping on a mobile device).
Provides access to low-level event details for advanced use cases, such as determining the input method or coordinates.
isInteracted boolean
Indicates whether the mention selection was triggered by user interaction.
Set to true if the selection resulted from a user action (e.g., mouse click, keyboard Enter, or touch tap), or false if triggered programmatically or by other means.
itemData FieldSettingsModel
Returns the selected item data from the data source.
This property provides access to all fields and values of the currently selected item.
name string
Specifies name of the event.