{"action":"created","issue":{"url":"https://api.github.com/repos/naoufal/react-native-accordion/issues/2","labels_url":"https://api.github.com/repos/naoufal/react-native-accordion/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/naoufal/react-native-accordion/issues/2/comments","events_url":"https://api.github.com/repos/naoufal/react-native-accordion/issues/2/events","html_url":"https://github.com/naoufal/react-native-accordion/pull/2","id":89589663,"number":2,"title":"Public methods for open/close/toggle","user":{"login":"alexrabarts","id":29395,"avatar_url":"https://avatars.githubusercontent.com/u/29395?v=3","gravatar_id":"","url":"https://api.github.com/users/alexrabarts","html_url":"https://github.com/alexrabarts","followers_url":"https://api.github.com/users/alexrabarts/followers","following_url":"https://api.github.com/users/alexrabarts/following{/other_user}","gists_url":"https://api.github.com/users/alexrabarts/gists{/gist_id}","starred_url":"https://api.github.com/users/alexrabarts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexrabarts/subscriptions","organizations_url":"https://api.github.com/users/alexrabarts/orgs","repos_url":"https://api.github.com/users/alexrabarts/repos","events_url":"https://api.github.com/users/alexrabarts/events{/privacy}","received_events_url":"https://api.github.com/users/alexrabarts/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-19T15:16:23Z","updated_at":"2015-07-03T15:43:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/naoufal/react-native-accordion/pulls/2","html_url":"https://github.com/naoufal/react-native-accordion/pull/2","diff_url":"https://github.com/naoufal/react-native-accordion/pull/2.diff","patch_url":"https://github.com/naoufal/react-native-accordion/pull/2.patch"},"body":"This pull request adds public methods to allow for programmatic control over the state of the accordion. e.g. to manually open an accordion:\r\n\r\n```\r\n<Accordion header={header} content={content} ref=\"myAccordion\" />\r\n\r\nthis.refs.myAccordion.open();\r\n```\r\n\r\nThe pull request provides methods for open, close and toggle."},"comment":{"url":"https://api.github.com/repos/naoufal/react-native-accordion/issues/comments/118378249","html_url":"https://github.com/naoufal/react-native-accordion/pull/2#issuecomment-118378249","issue_url":"https://api.github.com/repos/naoufal/react-native-accordion/issues/2","id":118378249,"user":{"login":"naoufal","id":1627824,"avatar_url":"https://avatars.githubusercontent.com/u/1627824?v=3","gravatar_id":"","url":"https://api.github.com/users/naoufal","html_url":"https://github.com/naoufal","followers_url":"https://api.github.com/users/naoufal/followers","following_url":"https://api.github.com/users/naoufal/following{/other_user}","gists_url":"https://api.github.com/users/naoufal/gists{/gist_id}","starred_url":"https://api.github.com/users/naoufal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naoufal/subscriptions","organizations_url":"https://api.github.com/users/naoufal/orgs","repos_url":"https://api.github.com/users/naoufal/repos","events_url":"https://api.github.com/users/naoufal/events{/privacy}","received_events_url":"https://api.github.com/users/naoufal/received_events","type":"User","site_admin":false},"created_at":"2015-07-03T15:43:44Z","updated_at":"2015-07-03T15:43:44Z","body":"@alexrabarts Sorry about the delay on this—I was sure I had already merged it.  \r\n\r\nThis change looks good. :+1:\r\n"}}