-
Notifications
You must be signed in to change notification settings - Fork 14
Instantsearch
sean-k edited this page Jun 10, 2011
·
5 revisions
- an Indextank_[Autocomplete]'d INPUT that has also been
- Indextank_[AjaxSearch]'d.
- import jquery.indextank.instantsearch.js
It will run a query through AjaxSearch whenever suggestions appear on the autocomplete box.
// create a renderer. Instant Results will be rendered here.
var r = $("#results").indextank_Renderer();
$("#query").indextank_Autocomplete().Indextank_AjaxSearch({listeners: r}).indextank_InstantSearch();
- focusTriggersSearch: A boolean indicating whether to trigger a search when the pointer hovers a suggestion. Default: false