-
-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow catch close menu event. #8
Comments
add row this.$emit('close') to closeMenu method |
@Akryum I will be happy if you add this as soon as possible, thank you |
@Rubon72: Why you need this event, can you share your case ? |
Hi, I guess the event handling is needed as when you mention someone, you need some notification to happen. By now, the idea I have to implement it when someone is selected is to populate an array when the selection happens, and when the text is completed the array is used to notify. The handling of such an event from inside the comment where the @ is doesn't seem to be so straightforward. |
Example for it could be that you want to type message and on key press ENTER you want to send it and if you type @ and typing some user name and press enter, it will send the message as well. With onClose you could at least make conditions. @quanghm27 @amdp |
Make @close="onCloseMentionMenu" like @OPEN="onOpenMentionMenu"
The text was updated successfully, but these errors were encountered: