2.0.1 • Published 9 years ago

predicty-pick v2.0.1

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

predicty-pick

An auto-complete component using https://www.npmjs.com/package/predicty with an suggestion picker

View a demo here:

https://cdn.rawgit.com/MatthewLarner/predicty-pick/master/tests/index.html

Usage

var PredictyPick = require('predicty-pick'),
	predictyPick = new PredictyPick();

// initialise with a list of items
predictyPick.items(['foo', 'bar', 'fizz', 'buzz']);

// call with the value to search against
predictPick.value('fo');

Events

'value' Emitted whenever the value changes, passes value to the handler

'items' Emitted whenever the items change, passes items to the handler

'accept' Emitted whenever a suggestion is accepted, passes the suggestion to the handler

2.0.1

9 years ago

2.0.0

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago