<input type="text"> autosuggest component. Try the demo!
$ component install component/autosuggest
var autosuggest = ;var input = document;// array of suggestionsvar suggestions ='Sunday''Monday''Tuesday''Wednesday''Thursday''Friday''Saturday';// create an `autosuggest` instancevar suggest = ;// and you can change the array of suggestions to use if they get changevar newSuggestions = suggestions;suggest;
Autosuggest instance. The instance has
.start() called on it if the
suggestions array is given, otherwise you must call
Stops the autosuggesting.