Skip to content

uohzxela/fuzzy-autocomplete

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fuzzy-autocomplete

Try it now on JSFiddle

  1. Load JQuery and fuzzy-autocomplete.js in header
  2. Define your input element: <input id='sample-input'>
  3. Call fuzzy-autocomplete library
  4. Load with native array: fuzzyAutocomplete($('#sample-input'), ['data1', 'data2', 'data3']);
  5. Load json array with ajax: fuzzyAutocomplete($('#sample-input'), '/path/to/file.json');
  6. See sample.html for working demonstration

To-dos

  1. Implement up and down navigation with keyboard
  2. Implement vanilla JS version to get rid of jQuery dependency

About

No-frills JS autocomplete library, with fuzzy matching

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published