ember-typeahead
is an ember-cli addon that wraps up the typeahead.js and Tokenfield for Boostrap plugins and exposes them through a single ember component.
The default usage of the type-ahead
component gives the consumer a typeahead.js search:
Switching the typeahead from a typeahead.js function to a Tokenfield for Bootstrap function is as simple as passing tokenized=true
into the component as well as setting the value
property to a comma-delimited string of values that will be bound as the tokenized list of items selected in the input.
git clone
this repositorynpm install
bower install
ember server
- Visit your app at http://localhost:4200.
- The typeahead.js component is based heavily on the ember-cli-twitter-typeahead addon
- Tokenfield for Boostrap
- typeahead.js