The reason for this fork is that while corejs-typeahead has accepted some pull requests to fix longstanding bugs in typeahead.js, they haven't built and released a new version. This package provides an easily
bower install-able version with those fixes.
The typeahead.js library consists of 2 components: the suggestion engine, Bloodhound, and the UI view, Typeahead. The suggestion engine is responsible for computing suggestions for a given query. The UI view is responsible for rendering suggestions and handling DOM interactions. Both components can be used separately, but when used together, they can provide a rich typeahead experience.
How you acquire typeahead.js is up to you:
Install with Bower:
$ bower install appt-typeahead
Install with npm:
$ npm install appt-typeahead
Download the latest dist files individually:
Note: both bloodhound.js and typeahead.jquery.js have a dependency on jQuery 1.9+.
For some working examples of typeahead.js, visit the examples page.
- Firefox 3.5+
- Safari 4+
- Internet Explorer 8+
- Opera 11+
NOTE: typeahead.js is not tested on mobile browsers.
For general questions about typeahead.js, tweet at @typeahead.
Discovered a bug? This fork is not maintained. If it hasn't been fixed in the upstream repository, please create an issue on their Github:
For transparency and insight into our release cycle, releases will be numbered with the following format:
And constructed with the following guidelines:
- Breaking backwards compatibility bumps the major
- New additions without breaking backwards compatibility bumps the minor
- Bug fixes and misc changes bump the patch
For more information on semantic versioning, please visit semver.org.
In order to build and test typeahead.js, you'll need to install its dev
$ npm install) and have grunt-cli
$ npm install -g grunt-cli). Below is an overview of the available
Grunt tasks that'll be useful in development.
grunt build– Builds typeahead.js from source.
grunt lint– Runs source and test files through JSHint.
grunt watch– Rebuilds typeahead.js whenever a source file is modified.
grunt server– Serves files from the root of typeahead.js on localhost:8888. Useful for using test/playground.html for debugging/testing.
grunt dev– Runs
grunt serverin parallel.
Copyright 2013 Twitter, Inc.
Licensed under the MIT License