From d5a95315eb2aac641d3a28de9f92f75e56813149 Mon Sep 17 00:00:00 2001 From: Nirav Sanghani Date: Mon, 16 Apr 2012 17:24:51 -0700 Subject: Update typeahead docs to reflect new option. --- docs/javascript.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/javascript.html') diff --git a/docs/javascript.html b/docs/javascript.html index 7ad42ae81..b6f7ce92e 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -1490,6 +1490,12 @@ $('.carousel').carousel({ highlights all default matches Method used to highlight autocomplete results. Accepts a single argument item and has the scope of the typeahead instance. Should return html. + + updater + function + updates input with selection + Method used to update input contents. Accepts a single argument item and has the scope of the typeahead instance. Should return a string. + -- cgit v1.2.3 From 031fa47f68f5655bf68f0c9ebf551f92028bf5d8 Mon Sep 17 00:00:00 2001 From: Nirav Sanghani Date: Mon, 16 Apr 2012 17:27:34 -0700 Subject: Update new typeahead method docs to be a bit clearer. --- docs/javascript.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/javascript.html') diff --git a/docs/javascript.html b/docs/javascript.html index b6f7ce92e..2261e65b8 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -1493,8 +1493,8 @@ $('.carousel').carousel({ updater function - updates input with selection - Method used to update input contents. Accepts a single argument item and has the scope of the typeahead instance. Should return a string. + replaces contents of text input with typeahead selection + Method used to update contents of text input. Accepts a single argument, the item selected from the typeahead, and has the scope of the typeahead instance. Should return a string. -- cgit v1.2.3