]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update typeahead docs to reflect new option.
authorNirav Sanghani <nirav.sanghani@gmail.com>
Tue, 17 Apr 2012 00:24:51 +0000 (17:24 -0700)
committerNirav Sanghani <nirav.sanghani@gmail.com>
Tue, 17 Apr 2012 00:24:51 +0000 (17:24 -0700)
docs/javascript.html

index 7ad42ae81f17c1c16f38a89764bc452c275fc9e6..b6f7ce92e1b1dd9bae11017f5b8527c54cc3ee3e 100644 (file)
@@ -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>updates input with selection</td>
+               <td>Method used to update input contents. Accepts a single argument <code>item</code> and has the scope of the typeahead instance. Should return a string.</td>
+             </tr>
             </tbody>
           </table>