fritx / vue-at

At.js for Vue.
https://fritx.github.io/vue-at/
MIT License
529 stars 114 forks source link

limit show elements in list and highlight of user mentioned #91

Open alfy91 opened 5 years ago

alfy91 commented 5 years ago

This commit adds two new properties: maxLoadUsers and enableHighlight. With the property maxLoadUser the component limits a number of elements to show. MaxLoadUser is an integer property, and when it sets at -1, it shows all elements. With the property enableHighlight, a function adds to a div with contenteditable=true a span with class=mentioned and with text the value.

fritx commented 5 years ago

@piscitelli91 hey, thanks for you PR, great features, will try to merge ASAP

agam-sb commented 2 years ago

Hey, is the highlighting feature added for mentioned user? Thanks