This is a temporary fork of https://github.com/ichord/At.js.
This is a temporary fork of https://github.com/ichord/At.js.
At GitLab we are moving away from at.js, but in the mean time we have a few fixes to the library:
- Removing a hard limit of 1000 items, see gitlab-org/gitlab#198650, gitlab-org/gitlab#204825 and gitlab-org/gitlab@c9228f2d
- Removing an jQuery animation call in order to be able to move to jQuery slim
- Removing support for $.ajax in order to be able to move to jQuery slim
This project was no longer maintained.
You could use zurb tribute instead.
------
An autocompletion library to autocomplete mentions, smileys etc. just like on Github!

#### Notice
At.js now depends on Caret.js.
Please read CHANGELOG.md for more details if you are going to update to new version.
* textarea - Chrome, Safari, Firefox, IE7+ (maybe IE6)
* contentEditable - Chrome, Safari, Firefox, IE9+
* Support IE 7+ for textarea.
* Supports HTML5 contentEditable elements (NOT including IE 8)
* Can listen to any character and not just '@'. Can set up multiple listeners for different characters with different behavior and data
* Listener events can be bound to multiple inputors.
* Format returned data using templates
* Keyboard controls in addition to mouse
- Tab or Enter keys select the value
- Up and Down navigate between values (and Ctrl-P and Ctrl-N also)
- Right and left will re-search the keyword.
* Custom data handlers and template renderers using a group of configurable callbacks
* Supports AMD
* jQuery >= 1.7.0.
* Caret.js
(You can use Component or Bower to install it.)
Simply include the following files in your HTML and you are good to go.
``html`
`javascript`
$('#inputor').atwho({
at: "@",
data:['Peter', 'Tom', 'Anne']
})
#### Bower & Component
For installing using Bower you can use jquery.atwho and for Component please use ichord/At.js.
#### Rails
You can include At.js in your Rails` application using the gem jquery-atwho-rails.
* @ichord (twitter)