Skip to content

Commit

Permalink
Updated docs to refer to new filter option of AutoSugest.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Mathews committed Aug 13, 2009
1 parent 6d4fdbc commit b5381a5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/widgets/autosuggest/autosuggest.js
Expand Up @@ -572,6 +572,13 @@
@param {string} [opts.theme="light"] Either "light" or "dark".
@param {String|Function} [opts.anim] Passed into the Overlay constructor for show and hide transitions.
@param {Function} [opts.onInputChange] Your own handler for the inputChange event.
@param {Function} [opts.filter] Filter matches found before they're displayed.
Provide a callback function that can be used to modify an array of
matching results before they are displayed. The callback receives a
single argument, an array of objects corresponding to the objects in
your data that are considered to match; expects you to return an array
of objects modified as you wish.
@param {Function} [opts.onItemSelect] Your own handler for the itemSelect event.
@param {Function} [opts.onDataLoad] Your own handler for the dataLoad event.
@param {Function} [opts.onDataError] Your own handler for the dataError event.
Expand Down

0 comments on commit b5381a5

Please sign in to comment.