{"action":"created","issue":{"url":"https://api.github.com/repos/devbridge/jQuery-Autocomplete/issues/493","repository_url":"https://api.github.com/repos/devbridge/jQuery-Autocomplete","labels_url":"https://api.github.com/repos/devbridge/jQuery-Autocomplete/issues/493/labels{/name}","comments_url":"https://api.github.com/repos/devbridge/jQuery-Autocomplete/issues/493/comments","events_url":"https://api.github.com/repos/devbridge/jQuery-Autocomplete/issues/493/events","html_url":"https://github.com/devbridge/jQuery-Autocomplete/issues/493","id":159280444,"number":493,"title":"Indicate on initializing element whether suggestions box is open or not","user":{"login":"zenichanin","id":3399096,"avatar_url":"https://avatars.githubusercontent.com/u/3399096?v=3","gravatar_id":"","url":"https://api.github.com/users/zenichanin","html_url":"https://github.com/zenichanin","followers_url":"https://api.github.com/users/zenichanin/followers","following_url":"https://api.github.com/users/zenichanin/following{/other_user}","gists_url":"https://api.github.com/users/zenichanin/gists{/gist_id}","starred_url":"https://api.github.com/users/zenichanin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zenichanin/subscriptions","organizations_url":"https://api.github.com/users/zenichanin/orgs","repos_url":"https://api.github.com/users/zenichanin/repos","events_url":"https://api.github.com/users/zenichanin/events{/privacy}","received_events_url":"https://api.github.com/users/zenichanin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-08T21:44:11Z","updated_at":"2016-06-13T18:56:30Z","closed_at":null,"body":"Is there a native way to attach a class or attribute to the initializing element (input field) to indicate when the suggestions box is open or not?  This is mainly for CSS purposes so that the input field can be styled one way when suggestions box is closed, and another way when it is open.\r\n\r\nIf there is no built in solution, do you have a tip or suggestion how to add it in, like if I can attach it to some method that fires up when suggestion box and no suggestion box opens and closes?\r\n\r\nI'm loving this plugin BTW, best autocomplete jQuery plugin I have found. 👍 "},"comment":{"url":"https://api.github.com/repos/devbridge/jQuery-Autocomplete/issues/comments/225674892","html_url":"https://github.com/devbridge/jQuery-Autocomplete/issues/493#issuecomment-225674892","issue_url":"https://api.github.com/repos/devbridge/jQuery-Autocomplete/issues/493","id":225674892,"user":{"login":"tkirda","id":282935,"avatar_url":"https://avatars.githubusercontent.com/u/282935?v=3","gravatar_id":"","url":"https://api.github.com/users/tkirda","html_url":"https://github.com/tkirda","followers_url":"https://api.github.com/users/tkirda/followers","following_url":"https://api.github.com/users/tkirda/following{/other_user}","gists_url":"https://api.github.com/users/tkirda/gists{/gist_id}","starred_url":"https://api.github.com/users/tkirda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkirda/subscriptions","organizations_url":"https://api.github.com/users/tkirda/orgs","repos_url":"https://api.github.com/users/tkirda/repos","events_url":"https://api.github.com/users/tkirda/events{/privacy}","received_events_url":"https://api.github.com/users/tkirda/received_events","type":"User","site_admin":false},"created_at":"2016-06-13T18:56:30Z","updated_at":"2016-06-13T18:56:30Z","body":"There is `onHide` callback. Although there is no on show. You may hook into `onSearchComplete` and add class if it has any results.\r\n\r\nOr extend the code with `onShow` callback."}}
{"actor":{"display_login":"tkirda"}}