Browse Source

Add comments to search settings

pull/2169/head
jlukic 10 years ago
parent
commit
ec558acd3f
1 changed files with 17 additions and 2 deletions
  1. 19
      src/definitions/modules/search.js

19
src/definitions/modules/search.js

@ -891,31 +891,46 @@ $.fn.search.settings = {
verbose : false, verbose : false,
performance : true, performance : true,
// template to use (specified in settings.templates)
type : 'standard', type : 'standard',
// minimum characters required to search
minCharacters : 1, minCharacters : 1,
// api config
// API config
apiSettings : false, apiSettings : false,
// object to search
source : false, source : false,
// fields to search
searchFields : [ searchFields : [
'title', 'title',
'description' 'description'
], ],
// whether to include fuzzy results in local search
searchFullText : true, searchFullText : true,
// whether to add events to prompt automatically
automatic : true, automatic : true,
hideDelay : 0,
hideDelay : 0,
// delay before searching
searchDelay : 200, searchDelay : 200,
// maximum results returned from local
maxResults : 7, maxResults : 7,
// whether to store lookups in local cache
cache : true, cache : true,
// transition settings
transition : 'scale', transition : 'scale',
duration : 300, duration : 300,
easing : 'easeOutExpo', easing : 'easeOutExpo',
// callbacks
onSelect : false, onSelect : false,
onResultsAdd : false, onResultsAdd : false,

Loading…
Cancel
Save