1.3.6 • Published 9 years ago

input-suggest v1.3.6

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

input-suggest

npm.io NPM version Dependency Status devDependency Status

Show suggestions when you input.

npm.io

Install

Using npm:

$ npm install input-suggest

Using bower:

$ bower install input-suggest

Usage

<textarea></textarea>
<script>
  var is = new InputSuggest('textarea');
  is.setSuggestions(['Apple', 'Apple Watch', 'Mac', 'iPad', 'iPhone', 'iPod', 'iPod Touch']);
</script>

Customize popup

You can style popup with following HTML structure.

<ul class="suggestion is-shown">
  <li class="suggestion__item is-selected">Item1 is selected</li>
  <li class="suggestion__item">Item2</li>
  <li class="suggestion__item">Item3</li>
</ul>

License

MIT: http://1000ch.mit-license.org

1.3.6

9 years ago

1.3.5

9 years ago

1.3.4

9 years ago

1.3.3

9 years ago

1.3.2

9 years ago

1.3.1

9 years ago

1.3.0

9 years ago

1.2.0

9 years ago

1.1.0

9 years ago

1.0.2

9 years ago

1.0.0

9 years ago