CoreJS typeahead.js jQuery plugin
This asset gem packages the maintained fork of Twitter's typeahead.js library by CoreJS as a jQuery plugin for the Rails asset pipeline.
To learn more about Twitter's original typeahead.js project and see examples visit Twitter's GitHub IO Project page.
This gem includes the standard and minified versions of the assets.
This gem is forked from Yousef Ourabi's twitter-typeahead-rails gem but is reconfigured to track the CoreJS fork with updated and tagged versions.
Currently this gem tracks corejs-typeahead v1.3.1.
Installation
Add this line to your application's Gemfile:
gem 'corejs-typeahead-rails'
or
gem 'corejs-typeahead-rails', :git => "git://github.com/evanjuneau/corejs-typeahead-rails.git"
And then execute:
$ bundle
Or install it yourself as:
$ gem install corejs-typeahead-rails
Usage
To start using the CoreJS typeahead.js plugin in your Rails application enable it via the asset pipeline (app/assets/javascripts/application.js).
Add one of the following to your application.js manifest:
//= require corejs/typeahead
//= require corejs/typeahead.min
See the documentation and examples on how to use the library at CoreJS's repository.
Issues
For issues related to the typeahead.js library itself, please create an issue on the CoreJS typeahead.js GitHub repository. For issues related to this gem, please create an issue here!
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request