cgunther/bootstrap — comment on commit 244821e6c003e7cbb838258348d594867e639b2a
File: js/bootstrap-typeahead.js line 43
By quasipickle:

Might it also be useful to add another option "selected" that gets called here? Then users don't have to add custom listeners, they can just define a "selected" function in their typeahead declaration.