From fdd50360d3b0e1570c22b3abb1fe29079afc0d77 Mon Sep 17 00:00:00 2001 From: James Ramsay Date: Fri, 17 May 2013 09:19:09 +1000 Subject: [PATCH] Added documentation for `formatSelectionCssClass` --- index.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/index.html b/index.html index adac518f..e3d10f8b 100644 --- a/index.html +++ b/index.html @@ -1226,6 +1226,15 @@ $(document).ready(function () {

By default when attached to a select css classes from options will be automatically copied

+ formatSelectionCssClassfunction + Function used to add css classes to selected elements +
formatSelectionCssClass(object)
+ + + + +
ParameterTypeDescription
objectobjectOne of the result objects returned from the query function
<returns>string (optional)String containing css class names separated by a space
+ formatNoMatchesfunction Function used to render the "No matches" message
formatNoMatches(term)