angularjs : @mention 在 textarea [英] angularjs : @mention in textarea

查看:24
本文介绍了angularjs : @mention 在 textarea的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的 textarea 中显示一个由单词 @ 触发的自动完成表单,比如这个库 http://ichord.github.io/At.js/ 但只使用 angularjs &css

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

我应该写什么样的指令?另外,有没有办法用 angular bootstrap UI typehead 指令来实现这个?

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

推荐答案

参见 https://github.com/jeff-collins/ment.io 获取可能满足您要求的指令.

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

这篇关于angularjs : @mention 在 textarea的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆