aboutsummaryrefslogtreecommitdiff
path: root/docs/javascript.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/javascript.html')
-rw-r--r--docs/javascript.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/javascript.html b/docs/javascript.html
index f966ba203..8104219c4 100644
--- a/docs/javascript.html
+++ b/docs/javascript.html
@@ -1454,9 +1454,9 @@ $('.carousel').carousel({
<tbody>
<tr>
<td>source</td>
- <td>array</td>
+ <td>array, function</td>
<td>[ ]</td>
- <td>The data source to query against.</td>
+ <td>The data source to query against. May be an array of strings or a function. The function is passed two arguments, the <code>query</code> value in the input field and the <code>process</code> callback. The function may be used synchronously by returning the data source directly or asynchronously via the <code>process</code> callback's single argument.</td>
</tr>
<tr>
<td>items</td>
@@ -1497,6 +1497,7 @@ $('.carousel').carousel({
</div>
</section>
+
<!-- Footer
================================================== -->
<footer class="footer">