{"action":"closed","issue":{"url":"https://api.github.com/repos/twitter/typeahead.js/issues/1121","labels_url":"https://api.github.com/repos/twitter/typeahead.js/issues/1121/labels{/name}","comments_url":"https://api.github.com/repos/twitter/typeahead.js/issues/1121/comments","events_url":"https://api.github.com/repos/twitter/typeahead.js/issues/1121/events","html_url":"https://github.com/twitter/typeahead.js/issues/1121","id":57524555,"number":1121,"title":"Ajax loading - UI indicator","user":{"login":"shanplourde","id":1335741,"avatar_url":"https://avatars.githubusercontent.com/u/1335741?v=3","gravatar_id":"","url":"https://api.github.com/users/shanplourde","html_url":"https://github.com/shanplourde","followers_url":"https://api.github.com/users/shanplourde/followers","following_url":"https://api.github.com/users/shanplourde/following{/other_user}","gists_url":"https://api.github.com/users/shanplourde/gists{/gist_id}","starred_url":"https://api.github.com/users/shanplourde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shanplourde/subscriptions","organizations_url":"https://api.github.com/users/shanplourde/orgs","repos_url":"https://api.github.com/users/shanplourde/repos","events_url":"https://api.github.com/users/shanplourde/events{/privacy}","received_events_url":"https://api.github.com/users/shanplourde/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-12T21:46:26Z","updated_at":"2015-04-25T11:18:10Z","closed_at":"2015-04-25T11:18:10Z","body":"Hello, the current typeahead.js doesn't seem to support a loading indicator, such as a spinning loading icon in the search box, etc. I have seen a few requests floating around related to this, but thinking about it more, I'm thinking that maybe it would be nice to create a new template called \"loading\" instead. Similar to the \"suggestion, \"header\", \"footer\", and \"empty\" templating support. \r\n\r\nI'm not sure which of the two would result in a more usable approach in general, and wanted to get the community's thoughts before I implement either or in my current project. I like the idea of using the suggestions area for state related feedback, rather than the user's input area. What do you think? \r\n\r\nThanks\r\nShan"}}