-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Closed
Description
Is there any way to use a custom transport for the queries? I need to use a custom function to get the requests (using AJAX, WebSockets, in-memory, or any other method).
Ideally I would be able to specify a function to the remote option, like in the following:
$(el).typeahead({
name: 'custom',
remote: function(query, done) { done([query, 'test', 'test2']); }
});Another way would be to allow specifying a transport object for the queries. Currently it creates a new Transport object if remote is specified, and does not allow specifying a custom transport (at least not that I saw).
Metadata
Metadata
Assignees
Labels
No labels