Skip to content

Vizel API / core/src / VizelMentionItemView

Interface: VizelMentionItemView

Defined in: packages/core/src/builders/mention-menu.ts:12

Item-data shape surfaced to the framework VizelMentionMenu component.

Carries the original VizelMentionItem plus the selection flag so the component renders avatar + label + description without re-deriving isSelected from selectedIndex.

Properties

isSelected

ts
isSelected: boolean;

Defined in: packages/core/src/builders/mention-menu.ts:16

Whether this item is the keyboard-active selection.


item

ts
item: VizelMentionItem;

Defined in: packages/core/src/builders/mention-menu.ts:14

The item as supplied by the consumer.

Released under the MIT License.