Skip to content

Instantsearch

sean-k edited this page Jun 10, 2011 · 5 revisions

Requirements

How it works

It will run a query through AjaxSearch whenever suggestions appear on the autocomplete box.

Usage

// create a renderer. Instant Results will be rendered here.
var r = $("#results").indextank_Renderer();
$("#query").indextank_Autocomplete().Indextank_AjaxSearch({listeners: r}).indextank_InstantSearch();

Options

  • focusTriggersSearch: A boolean indicating whether to trigger a search when the pointer hovers a suggestion. Default: false
Clone this wiki locally