2
0
mirror of https://github.com/devbridge/jQuery-Autocomplete.git synced 2024-11-09 23:01:00 +00:00

Update readme.md

Remove old suggestions argument in beforeRender method.
This commit is contained in:
Maciej Płusa 2016-08-25 12:44:41 +02:00 committed by GitHub
parent 8d18bdadba
commit a21dcb6b98

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, suggestions) {}` called before displaying the suggestions. You may manipulate suggestions DOM before it is displayed.
* `beforeRender`: `function (container) {}` 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.