
Typeahead.js is a flexible javascript library that provides a strong foundation for building robust typeaheads.
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.