# MentionInsertEvent (@salmonui/dropdowns/mention)

> The MentionInsertEvent interface of @salmonui/dropdowns/mention.

Canonical: https://salmonui.dev/docs/reference/dropdowns/mention/MentionInsertEvent

```ts
import type { MentionInsertEvent } from '@salmonui/dropdowns/mention';
```

Entry index: https://salmonui.dev/docs/reference/dropdowns/mention (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/dropdowns/mention.md).

## Reference

Kind: interface

```ts
interface MentionInsertEvent<T = MentionItem> {
    readonly item: T;
    readonly text: string;
    readonly trigger: string;
    readonly source: MentionEventSource;
}
```

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `item` | `readonly item: T;` |  |  |
| `text` | `readonly text: string;` |  | The text that replaces the trigger and the search text. |
| `trigger` | `readonly trigger: string;` |  | The trigger character that started this mention. |
| `source` | `readonly source: MentionEventSource;` |  |  |
