{"action":"opened","issue":{"url":"https://api.github.com/repos/xgfe/react-native-datepicker/issues/7","repository_url":"https://api.github.com/repos/xgfe/react-native-datepicker","labels_url":"https://api.github.com/repos/xgfe/react-native-datepicker/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/xgfe/react-native-datepicker/issues/7/comments","events_url":"https://api.github.com/repos/xgfe/react-native-datepicker/issues/7/events","html_url":"https://github.com/xgfe/react-native-datepicker/issues/7","id":158208176,"number":7,"title":"[Request] Expose a method to open datepicker programmatically","user":{"login":"aprct","id":447512,"avatar_url":"https://avatars.githubusercontent.com/u/447512?v=3","gravatar_id":"","url":"https://api.github.com/users/aprct","html_url":"https://github.com/aprct","followers_url":"https://api.github.com/users/aprct/followers","following_url":"https://api.github.com/users/aprct/following{/other_user}","gists_url":"https://api.github.com/users/aprct/gists{/gist_id}","starred_url":"https://api.github.com/users/aprct/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aprct/subscriptions","organizations_url":"https://api.github.com/users/aprct/orgs","repos_url":"https://api.github.com/users/aprct/repos","events_url":"https://api.github.com/users/aprct/events{/privacy}","received_events_url":"https://api.github.com/users/aprct/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-02T18:27:48Z","updated_at":"2016-06-02T18:27:48Z","closed_at":null,"body":"It would be cool if we could do something like this:\r\n```javascript\r\n<TouchableHighlight onPress={() => { this.refs.datepicker.focus(); }}>\r\n  <Text>Open datepicker</Text>\r\n</TouchableHighlight>\r\n\r\n<DatePicker ref=\"datepicker\" ... />\r\n```\r\n\r\nThanks!"}}
{"actor":{"display_login":"aprct"}}