You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: html/sampleSite.html
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -92,9 +92,12 @@
92
92
highlight: true,// whether matched words should be highlighted, default: true
93
93
queryVisualizationHeadline: '',// A headline for the image visualization, default: empty
94
94
animationSpeed: 200,// speed of the animations, default: 300ms
95
-
enterCallback: undefined,// callback on what should happen when enter is pressed, default: undefined, meaning the link will be followed
95
+
enterCallback: function(text,link){console.log(text);},// callback on what should happen when enter is pressed, default: undefined, meaning the link will be followed
96
96
placeholder: 'Search for something',
97
-
minChars: 3// minimum number of characters before the suggests shows, default: 3
97
+
minChars: 3,// minimum number of characters before the suggests shows, default: 3
98
+
suggestOrder: [],// the order of the suggests
99
+
suggestSelectionOrder: [],// the order of how they should be selected
100
+
noSuggests: '<b>We haven\'t found anything for you, <u>sooorrryyy</u></b>',
98
101
//maxWidth: 400 // the maximum width of the suggest box, default: as wide as the input box
0 commit comments