Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

JavaScript Mention is an autocomplete-like control for tagging or selecting users or group from a suggestion list. The control opens a suggestion list when a user starts typing with the ‘@’ character, just like on popular social media sites such as Facebook, Twitter, and more. It supports several out-of-the-box features: data binding, grouping, UI customization, accessibility, and more.

JavaScript Mention overview


Data binding

The JavaScript Mention control seamlessly works with local and remote data sources such as an array of primitive data, data sets of complex items, JSON data collections, and remote data sources.

JavaScript Mention data binding


JavaScript Rich Text Editor with mention and hashtags

Javascript Rich Text Editor with mention and hashtags

Tag or select a user or group from the suggestion list when composing content in the Rich Text Editor.


Integration

Easy to integrate with editable controls such as text area, text box, and div elements with content-editable set to true.

JavaScript Mention integration


JavaScript Mention trigger character

Trigger character

Change the mention (trigger) character to # or other characters.


Multiple lists

Use multiple mention characters in a single editor, such as @ for a user selection list and # for a topic selection list.

JavaScript Mention multiple lists


JavaScript Mention highlight matched text

Searching

Highlight matched text

Change the visual appearance of the matching characters in the suggestion list.


Minimum characters

Open the suggestion list when the specified character limit is reached.


Supports spaces in searches and displays the results in the suggestion list.

JavaScript Mention spacing


JavaScript Mention selection suffix

Selection suffix

Users can add a suffix to the selected suggestion.


Grouping

Display suggestions with categories and groups in the JavaScript Mention control.

JavaScript Mention grouping


JavaScript Mention sorting

Sorting

Display sorted suggestions in ascending or descending order.


Number of suggestions

Limit the number of items displayed in the suggestion list.

JavaScript Mention number of suggestions


UI customization

The appearance (style) of each item displayed in the suggestion list and the selected value can be customized.


JavaScript Mention suggestions with icons

Suggestions with icons

Include icons in the suggestion list items to improve visual representation.


Item template

Customize each suggestion list item by using item templates.

JavaScript Mention item template


JavaScript Mention display template

Display template

Customize the appearance of the selected items displayed in the JavaScript Mention control.


Empty record template

Customize the empty result text in the suggestion pop-up.

JavaScript Mention empty record template


JavaScript Mention loading template