Mentions
"Mentions" are created when a user tags another user in a comment using the @
symbol.
When a user starts typing in a comment and the @
key is pressed, a list of users will be presented. The user can then select the user they want to mention.
When a user is mentioned, a few things happen:
#
EventsWhen the currently signed in user is mentioned, a mentionAdded
event will be triggered. This event can be used to handle any application specific logic you may want.
#
NotificationsWhen the currently signed in user is mentioned, a message
notification will be triggered with the Annotation.hasMention
property set to true.
For more information, see the notifications guide.