2
0
mirror of https://github.com/devbridge/jQuery-Autocomplete.git synced 2024-11-25 06:07:45 +00:00

Merge pull request #491 from Rickycezar/patch-1

Updating beforeRender documentation
This commit is contained in:
Tomas Kirda 2016-06-08 14:55:10 -05:00
commit 114cb482eb

View File

@ -47,7 +47,7 @@ The standard jquery.autocomplete.js file is around 13KB when minified.
* `onHide`: `function (container) {}` called before container will be hidden
###Presentation Settings
* `beforeRender`: `function (container) {}` called before displaying the suggestions. You may manipulate suggestions DOM before it is displayed.
* `beforeRender`: `function (container, suggestions) {}` called before displaying the suggestions. You may manipulate suggestions DOM before it is displayed.
* `formatResult`: `function (suggestion, currentValue) {}` custom function to
format suggestion entry inside suggestions container, optional.
* `groupBy`: property name of the suggestion `data` object, by which results should be grouped.