backbone-autocomplete
backbone-autocomplete copied to clipboard
General Feedback
Thanks for this. It's working out nicely for me so far.
I've modified it a little to trigger more events rather than explicitly determine the outcome of behaviors like focus/blur. In my autocomplete object, I then listen for 'render', 'hiding', etc:
@autocomplete.resultsView.on 'render', ->
@$el.addClass('showing').scrollTo(0,0)
.on 'hiding', ->
@$el.removeClass('showing')
Just FYI. Thanks again!