darrenjennings / vue-autosuggest

🔍 Vue autosuggest component.
https://darrenjennings.github.io/vue-autosuggest
MIT License
621 stars 91 forks source link

feat(js): add highlight props #214

Open viniciusgugelmin opened 3 years ago

viniciusgugelmin commented 3 years ago

What: Addition of highlight props; highlightFirstSuggestion it's verbose; persistHighlighted is to not unhighlight when clicked outside.

Why: Simplify and speed up project research.

How: Just like the other props and with an addition of a watch.

Checklist:

I tried to make simple, non-immediate changes by setting the props default to false.