# MentionAttribute

typedef

Represents a mention in the model.

See [`Mention#toMentionAttribute()`](module_mention_mention-Mention.md#function-toMentionAttribute).

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-mention/src/mention.ts#L84)

<a id="properties">

## Properties

<a id="member-_text">

### `_text: string`

Helper property that stores the text of the inserted mention. Used for detecting a broken mention in the editing area.

<a id="member-id">

### `id: string`

The ID of a mention. It identifies the mention item in the mention feed. There can be multiple mentions in the document with the same ID (e.g. the same hashtag being mentioned).

<a id="member-uid">

### `uid: string`

A unique ID of this mention instance. Should be passed as an `option.id` when using [writer.createAttributeElement()](module_engine_view_downcastwriter-ViewDowncastWriter.md#function-createAttributeElement).

#### Value

`object`

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
