This is a contact-/anything-picker based on Mike Brevoort's excellent jquery-facebook-multi-friend-selector.
There is a demo at http://jquery-thingy-picker.herokuapp.com/.
Documentation is at http://jquery-thingy-picker.herokuapp.com/docs/.
See the example/index.html for examples.
Before all, include the css/less and coffeescript/js files in your HTML.
Call $(selector).thingyPicker({items: items})
on a dom-node.
The items must be an array in the format {id: ..., name: ..., picture: ...}
{
items: [{id: 1, name: "test", picture: "http://domain.com/pic.png"}]
debug: true,
maxSelected: -1,
preSelectedItems: [],
excludeItems: [],
itemToHtml: function(){},
sorter: function(){},
isItemFiltered: function(){},
labels: {} // see jquery-thingy-picker.js
}
grunt watch