Interface for a class Mention
Triggers before fetching data from the remote server.
Triggers after data is fetched successfully from the remote server.
Triggers when the data fetch request from the remote server fails.
Triggers before the popup is opened.
Triggers when an item in a popup is selected and updated in an editor.
Triggers after the popup is closed.
Triggers when the component is created.
Triggers when the component is destroyed.
Triggers on typing a character in the component.
Triggers after the popup opens.
Triggers when an item in the popup is selected by the user either with the mouse/tap or with keyboard navigation.
Defines whether to allow the space in the middle of mention while searching. When disabled, the space ends the mention component search.
Defines class/multiple classes separated by a space for the mention component.
Accepts the list items either through local or remote service and binds it to the component.
It can be an array of JSON Objects or an instance of
Specifies the template for the selected value from the suggestion list.
Defines the fields of the Mention to map with the data source and binds the data to the component.
Determines on which filter type, the component needs to be considered on search action. and its supported data types are
Checks whether a value begins with the specified value.||
Checks whether a value ends with a specified value.||
Checks whether a value contains with a specified value.||
The default value set to
Contains, all the suggestion items which contain typed characters to listed in the suggestion popup.
Specifies whether to highlight the searched characters on suggestion list items.
Specifies whether the searches are case sensitive to find suggestions.
Specifies the template for the suggestion list.
Overrides the global culture and localization value for this component. Default global culture is ‘en-US’.
Specifies the symbol or single character which triggers the search action in the mention component.
Specifies the minimum length of user input to initiate the search action. The default value is zero, where suggestion the list opened as soon as the user inputs the mention character.
Specifies the template for no matched item which is displayed when there are no items to display in the suggestion list.
Specifies the height of the popup in pixels/number/percentage. The number value is considered as pixels.
Specifies the width of the popup in pixels/number/percentage. The number value is considered as pixels.
Specifies the external query, which can be customized and filtered against the data source.
Specifies whether to show the configured mentionChar with the text.
Specifies the order to sort the data source. The possible sort orders are,
None- The data source is not sorted.
Ascending- The data source is sorted in ascending order.
Descending- The data source is sorted in descending order.
Specifies the template for showing until data is loaded in the popup.
Specifies the custom suffix to append along with the mention component selected item while inserting. You can append space or new line character as suffix.
Specifies the number of items in the suggestion list.
Specifies the target selector where the mention component needs to be displayed. The mention component listens to the target’s user input and displays suggestions as soon as the user inputs the mention character.