Skip to content

A fresh take on autocompletion for a wonderful user experience

License

Notifications You must be signed in to change notification settings

tommedema/completely-suggest.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 

Repository files navigation

complete.ly

A javascript library for autocompletion

Changelog compared to original repo:

  • New classes for html elements (completely-wrapper, completely-prompt, completely-input, completely-hint, completely-dropdown)
  • Now it can be possible to add autocomplete feature also directly to existing input elements

Changelog compared to forked repo:

  • Project is focused on providing suggestions, even when no input has been entered yet.

    hide autocomplete box by default if input is not focused show autocomplete box on focus, hide on blur

  • Comply with input placeholders
  • Case insensitive matching
  • Inherit suggestions width from input element
  • Comply with input margin, borders, etc.
  • Passed HTML element must now be the input element, not a container.
  • Inherit font style, size, color from input element
  • Play nicely with margins, paddings, and formatted inputs (e.g. Bootstrap themes)
  • Cross browser (tested on latest Chrome, Firefox, and IE8)
  • Removed redundant custom cursor
  • Dropdown overflow is now automatic, scrollbars are only shown when necessary
  • Dropdown height is limited to 10 times the height of the input element (then a scrollbar is shown)

ToDo:

  • Test on IE9, IE10, mobile browsers, and Safari

About

A fresh take on autocompletion for a wonderful user experience

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%