aboutsummaryrefslogtreecommitdiff
path: root/docs/javascript.html
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2012-04-16 17:35:32 -0700
committerJacob Thornton <[email protected]>2012-04-16 17:35:32 -0700
commitba202d77baa35125a521224d9a55ec013fc3ccfa (patch)
treed399df215d96c08f7699211d72c887d9ae5c3561 /docs/javascript.html
parent2881269e16be1beb007633501496d6a8e8924b4b (diff)
parent031fa47f68f5655bf68f0c9ebf551f92028bf5d8 (diff)
downloadbootstrap-ba202d77baa35125a521224d9a55ec013fc3ccfa.tar.xz
bootstrap-ba202d77baa35125a521224d9a55ec013fc3ccfa.zip
Merge pull request #3104 from iamnirav/2.0.3-wip
Allow updater function in bootstrap-typeahead.js (updates the value of the input field) to be overridden
Diffstat (limited to 'docs/javascript.html')
-rw-r--r--docs/javascript.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/javascript.html b/docs/javascript.html
index 7ad42ae81..2261e65b8 100644
--- a/docs/javascript.html
+++ b/docs/javascript.html
@@ -1490,6 +1490,12 @@ $('.carousel').carousel({
<td>highlights all default matches</td>
<td>Method used to highlight autocomplete results. Accepts a single argument <code>item</code> and has the scope of the typeahead instance. Should return html.</td>
</tr>
+ <tr>
+ <td>updater</td>
+ <td>function</td>
+ <td>replaces contents of text input with typeahead selection</td>
+ <td>Method used to update contents of text input. Accepts a single argument, the <code>item</code> selected from the typeahead, and has the scope of the typeahead instance. Should return a string.</td>
+ </tr>
</tbody>
</table>