We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10c6cef commit 3bae269Copy full SHA for 3bae269
doc/jquery_typeahead.md
@@ -220,6 +220,17 @@ a typeahead.
220
handler will be invoked with 3 arguments: the jQuery event object, the current
221
query, and the name of the dataset the async request belongs to.
222
223
+Example usage:
224
+
225
+```
226
+$('.typeahead').bind('typeahead:select', function(ev, suggestion) {
227
+ console.log('Selection: ' + suggestion);
228
+});
229
230
231
+**NOTE**: Every event does not supply the same arguments. See the event
232
+descriptions above for details on each event's argument list.
233
234
<!-- section links -->
235
236
[`change` event]: https://developer.mozilla.org/en-US/docs/Web/Events/change
0 commit comments