At.js - Add Github like mentions autocomplete to your application

added by Robert Greyling
10/13/2014 10:24:54 AM

372 Views

An autocompletion library to autocomplete mentions, smileys etc. just like on Github!


3 comments

Robert Greyling
10/13/2014 10:25:45 AM
This library literally saved me a metric ton of time over the weekend. Such an awesome lib!

Drew Peterson
10/14/2014 1:36:45 AM
It would be great if, in addition to supporting url's for data, it supported a callback function to return data. That would allow for, say, the ability to type @ and show not just local data, but perhaps start searching twitter for usernames.

Robert Greyling
10/14/2014 9:17:21 AM
It's already there as one of the callbacks call `remote_filter`. We populate the initial list with the handles of everyone who has participated on the Story, and then use that callback to fetch further names from our DB. In addition, we could call out to twitter and start doing that as well. This library has got all the bells and whistles we needed :) Check out more info on the [callbacks here](https://github.com/ichord/At.js/wiki/Callbacks)