Comments (5)
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.
from vue-mention.
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
from vue-mention.
closeMenu () { this.oldKey = this.key this.key = null this.$emit('close') },
add row this.$emit('close') to closeMenu method
from vue-mention.
@Akryum I will be happy if you add this as soon as possible, thank you
from vue-mention.
@Rubon72: Why you need this event, can you share your case ?
from vue-mention.
Related Issues (20)
- How to hide popup if no results? HOT 3
- Does not work with Vuetify. HOT 1
- TypeScript support HOT 3
- nextTick must be there by default
- export 'VPopover' was not found in 'v-tooltip' HOT 1
- Search interrupted after hit "space" HOT 4
- Removing all character after `keys` do not reset the state of the items HOT 2
- Styling the mentioned items HOT 2
- When mention contains '@' and we start to add another mention but delete it before choosing the popover doesn't close HOT 2
- Emit event when removing a mention HOT 3
- Add info in docs on how to use item-@ without causing invalid attribute error HOT 1
- After selection @ tooltip doesn't show. need space + @
- Wrong position in Electron 19 and 21
- Does :positioning-disabled do anything anymore? HOT 1
- Can I have a label instead of value display ?
- Is there a way to control the visibility manually also?
- Trigger suggestion with CTRL + Space
- Got @undefined in Vue3
- Floating Vue Error. HOT 1
- Click @ only shows 8 item in the list, whereas i have 36 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-mention.