Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

angularjs : @mention in textarea

I want to display an autocomplete form triggered by the word @ in my textarea like this library http://ichord.github.io/At.js/ but only using angularjs & css

What kind of directive should I write ? Also, is there a way to implement this with the angular bootstrap UI typehead directive ?

like image 562
Bobby Shark Avatar asked Aug 15 '14 12:08

Bobby Shark


2 Answers

See https://github.com/jeff-collins/ment.io for a directive that likely does what you are looking for.

like image 182
NevilleS Avatar answered Sep 20 '22 15:09

NevilleS


I've written angular-otobox, a dependency-less angular directive for mentioning, tagging and higlighiting words in text, it's easy to use. have look, it's easy to use.

like image 23
Reyraa Avatar answered Sep 23 '22 15:09

Reyraa