marcojetson / type-ahead.js

A lightweight and extensible type ahead library
BSD 3-Clause "New" or "Revised" License
21 stars 6 forks source link

Add optional callback for after autocomplete (with the enter key) #5

Closed therebelrobot closed 9 years ago

therebelrobot commented 9 years ago

I need a way of triggering additional code once enter key is pressed for autocomplete (specifically I need to update the model). This could be added to the opts object discussed in #2. Will look into an update.

therebelrobot commented 9 years ago

Looks like I missed where this was needed in TypeAheadList.prototype.handleMouseDown. Adding that in now.