Add Github like mentions autocomplete to your application.
Let me know you are using it, so I will work harder on it. And if you like At.js ?! Tell me by adding website here Hope you like it, Thanks.! :)
This branch have updated to v0.3.1
. Please read CHANGELOG.md for more details.
English Documentation will keep improving. Maybe You can do me a favor?!
http://ichord.github.com/At.js
- Can listen to any character not just '@', and set up multiple listeners for different characters with different behavior and data.
- Listener events can be bound to multiple textareas
- Format returned data using templates
- Keyboard controls in addition to mouse
Tab
orEnter
keys select the value,Up
andDown
navigate between valuesRight
andleft
will research the keyword. - Customer data handlers and template renders by a group of configurable callbacks.
- Support AMD
- branch
stable-v0.2
with tagv0.2.x
- branch
stable-v0.1.x
and tagv0.1.7
If you are working with Rails
. This gem: jquery-atwho-rails may help you.
Someone register At.js in bower as jquery.atwho. so, just use it!
- jQuery >= 1.7.0.
https://github.com/ichord/At.js/wiki
Core function, that get the correct offset of caret, of At.js had been separated as a jQuery plugin Caret.js If you want to build your own 'At.js', welcome to use it. And here is a Demo.
Project is a member of the OSS Manifesto.