ichord/At.js
ichord/At.js has 5,234 GitHub stars and 648 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-07 14:27 UTC. Last push 2021-11-18.
Add Github like mentions autocomplete to your application.
What you can do
- 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.
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original⚠️ Announcement ⚠️
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.
Demo
http://ichord.github.com/At.js
Documentation
https://github.com/ichord/At.js/wiki
Compatibility
textarea- Chrome, Safari, Firefox, IE7+ (maybe IE6)contentEditable- Chrome, Safari, Firefox, IE9+
Features Preview
- 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
TaborEnterkeys select the valueUpandDownnavigate between values (andCtrl-PandCtrl-Nalso)Rightandleftwill re-search the keyword.
- Custom data handlers and template renderers using a group of configurable callbacks
- Supports AMD
Requirements
- jQuery >= 1.7.0.
- Caret.js
(You can use
ComponentorBowerto install it.)
Integrating with your Application
Simply include the following files in your HTML and you are good to go.
<link href="css/jquery.atwho.css" rel="stylesheet">
<script src="http://code.jquery.com/jquery.js"></script>
<script src="js/jquery.caret.js"></script>
<script src="js/jquery.atwho.js"></script>
$('#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.
Core Team Members
- @ichord (twitter)
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
560,798 starspublic-apis/public-apis
A collective list of free APIs
497,023 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
441,072 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,145 stars