File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed
Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,22 @@ Sets the value of the typeahead. This should be used in place of `jQuery#val`.
7272$ (' .typeahead' ).typeahead (' val' , myVal);
7373```
7474
75+ #### jQuery#typeahead('open')
76+
77+ Opens the suggestion menu.
78+
79+ ``` javascript
80+ $ (' .typeahead' ).typeahead (' open' );
81+ ```
82+
83+ #### jQuery#typeahead('close')
84+
85+ Closes the suggestion menu.
86+
87+ ``` javascript
88+ $ (' .typeahead' ).typeahead (' close' );
89+ ```
90+
7591#### jQuery#typeahead('destroy')
7692
7793Removes typeahead functionality and reverts the ` input ` element back to its
Original file line number Diff line number Diff line change 304304 'typeahead:open' ,
305305 'typeahead:close' ,
306306 'typeahead:change' ,
307+ 'typeahead:render' ,
307308 'typeahead:select' ,
308- 'typeahead:autocomplet ' ,
309+ 'typeahead:autocomplete ' ,
309310 'typeahead:cursorchange' ,
310311 ] . join ( ' ' ) , logTypeaheadEvent ) ;
311312
You can’t perform that action at this time.
0 commit comments