From ec558acd3f0b5d91c1b043dfff05c7de2165f899 Mon Sep 17 00:00:00 2001 From: jlukic Date: Tue, 14 Apr 2015 15:20:17 -0400 Subject: [PATCH] Add comments to search settings --- src/definitions/modules/search.js | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/src/definitions/modules/search.js b/src/definitions/modules/search.js index 4824f9a12..06d94a3db 100644 --- a/src/definitions/modules/search.js +++ b/src/definitions/modules/search.js @@ -891,31 +891,46 @@ $.fn.search.settings = { verbose : false, performance : true, + // template to use (specified in settings.templates) type : 'standard', + + // minimum characters required to search minCharacters : 1, - // api config + // API config apiSettings : false, + // object to search source : false, + + // fields to search searchFields : [ 'title', 'description' ], + + // whether to include fuzzy results in local search searchFullText : true, + // whether to add events to prompt automatically automatic : true, - hideDelay : 0, + hideDelay : 0, + // delay before searching searchDelay : 200, + // maximum results returned from local maxResults : 7, + + // whether to store lookups in local cache cache : true, + // transition settings transition : 'scale', duration : 300, easing : 'easeOutExpo', + // callbacks onSelect : false, onResultsAdd : false,