Skip to content

danselden/suggest

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

var haystack = ["ActionScript", "AppleScript", "Asp", ...];
$('#container').suggest(haystack, {
  // Available options with defaults:
  suggestionColor   : '#cccccc',
  moreIndicatorClass: 'suggest-more'
  moreIndicatorText	: '…'
});
<input type="text" name="search" id="search" />

More information and demo can be found here.

The plugin will generate the CSS required based on the input's styles.

This plugin currently doesn't support remote resources for haystacks for performance reasons. This might change in the future.

Installation via npm

npm install jquery-suggest

Contributers

About

jQuery suggest plugin

Resources

License

GPL-2.0, MIT licenses found

Licenses found

GPL-2.0
GPL-LICENSE.txt
MIT
MIT-LICENSE.txt

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 96.8%
  • CSS 2.2%
  • HTML 1.0%