Autocomplete
You can have an input field suggest results to the user and can be navigated using the keyboard or the mouse.
Basic Usage
Loading the autocomplete data from a static array.
External Data
Loading all results from an external JSON endpoint but using the built in filtering.
Advanced Usage
It's possible to override the filtering functionality to supply the user with any data you'd like.
Overriding onselect
onselect
can be overridden to run your own code when an
element is selected (either with the keyboard or the mouse).