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: readme.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,8 @@ The standard jquery.autocomplete.js file is around 13KB when minified.
50
50
*`beforeRender`: `function (container, suggestions) {}` called before displaying the suggestions. You may manipulate suggestions DOM before it is displayed.
51
51
*`formatResult`: `function (suggestion, currentValue) {}` custom function to
52
52
format suggestion entry inside suggestions container, optional.
53
+
*`formatGroup`: `function (suggestion, category) {}` custom function to
54
+
format group header, optional.
53
55
*`groupBy`: property name of the suggestion `data` object, by which results should be grouped.
54
56
*`maxHeight`: Maximum height of the suggestions container in pixels. Default: `300`.
55
57
*`width`: Suggestions container width in pixels, e.g.: 300, `flex` for max suggestion size and `auto` takes input field width. Default: `auto`
0 commit comments