typeahead.js. The library has two components: the UI view,
Typeahead along with the suggestion engine,
Bloodhound. Bloodhound is configured to look up the
rest-api funders route,
<rest-api-url>/funders?query=<string-user-types> to query anything that the user types in the funding search page of the Metadata Search Service. The search bar is setup to query the funder route as the user types, providing a typeahead experience as the response returns strings that try to match the user’s text. The user picks the string that is the funder they want to query. The response they pick is tied to the funder id and that is tied to the route:
<<rest-api-url>>/funders/<<funder-id>>/works. The response is displayed after it is queried successfully.