< Back to home | View Source

This example uses a custom source function to fetch data from a Backbone Collection. The remote source is the RottenTomatoes Movie API. The search API is a bit slow so there's hooks on the search events to toggle a throbber when you start searching. Additionally, once a movie is selected, there is a custom handler to load more details about the movie. The initial selection adds the item data as it exists in the picker which is from the query API. The model.fetch() is called to grab more details and add that result back into the item list using multisearch.add() which will replace the existing item based on its key.


Searching