1.3.6 • Published 10 years ago

input-suggest v1.3.6

Weekly downloads
1
License
MIT
Repository
github
Last release
10 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

10 years ago

1.3.5

10 years ago

1.3.4

10 years ago

1.3.3

10 years ago

1.3.2

10 years ago

1.3.1

10 years ago

1.3.0

10 years ago

1.2.0

10 years ago

1.1.0

10 years ago

1.0.2

10 years ago

1.0.0

10 years ago