{"action":"created","comment":{"url":"https://api.github.com/repos/callemall/material-ui/pulls/comments/39919078","id":39919078,"diff_hunk":"@@ -223,6 +226,18 @@ let DropDownMenu = React.createClass({\n     );\n   },\n \n+  isOpen() {","path":"src/drop-down-menu.jsx","position":35,"original_position":35,"commit_id":"17a77866c46cf76477eb4e855c6bdea9f6aa1739","original_commit_id":"17a77866c46cf76477eb4e855c6bdea9f6aa1739","user":{"login":"oliviertassinari","id":3165635,"avatar_url":"https://avatars.githubusercontent.com/u/3165635?v=3","gravatar_id":"","url":"https://api.github.com/users/oliviertassinari","html_url":"https://github.com/oliviertassinari","followers_url":"https://api.github.com/users/oliviertassinari/followers","following_url":"https://api.github.com/users/oliviertassinari/following{/other_user}","gists_url":"https://api.github.com/users/oliviertassinari/gists{/gist_id}","starred_url":"https://api.github.com/users/oliviertassinari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliviertassinari/subscriptions","organizations_url":"https://api.github.com/users/oliviertassinari/orgs","repos_url":"https://api.github.com/users/oliviertassinari/repos","events_url":"https://api.github.com/users/oliviertassinari/events{/privacy}","received_events_url":"https://api.github.com/users/oliviertassinari/received_events","type":"User","site_admin":false},"body":"Why not using a callback property instead? ","created_at":"2015-09-19T12:16:43Z","updated_at":"2015-09-19T12:16:43Z","html_url":"https://github.com/callemall/material-ui/pull/1677#discussion_r39919078","pull_request_url":"https://api.github.com/repos/callemall/material-ui/pulls/1677","_links":{"self":{"href":"https://api.github.com/repos/callemall/material-ui/pulls/comments/39919078"},"html":{"href":"https://github.com/callemall/material-ui/pull/1677#discussion_r39919078"},"pull_request":{"href":"https://api.github.com/repos/callemall/material-ui/pulls/1677"}}},"pull_request":{"url":"https://api.github.com/repos/callemall/material-ui/pulls/1677","id":45439215,"html_url":"https://github.com/callemall/material-ui/pull/1677","diff_url":"https://github.com/callemall/material-ui/pull/1677.diff","patch_url":"https://github.com/callemall/material-ui/pull/1677.patch","issue_url":"https://api.github.com/repos/callemall/material-ui/issues/1677","number":1677,"state":"open","locked":false,"title":"Allow programmatic opening and closing DropDownMenu","user":{"login":"MrLeebo","id":2754163,"avatar_url":"https://avatars.githubusercontent.com/u/2754163?v=3","gravatar_id":"","url":"https://api.github.com/users/MrLeebo","html_url":"https://github.com/MrLeebo","followers_url":"https://api.github.com/users/MrLeebo/followers","following_url":"https://api.github.com/users/MrLeebo/following{/other_user}","gists_url":"https://api.github.com/users/MrLeebo/gists{/gist_id}","starred_url":"https://api.github.com/users/MrLeebo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrLeebo/subscriptions","organizations_url":"https://api.github.com/users/MrLeebo/orgs","repos_url":"https://api.github.com/users/MrLeebo/repos","events_url":"https://api.github.com/users/MrLeebo/events{/privacy}","received_events_url":"https://api.github.com/users/MrLeebo/received_events","type":"User","site_admin":false},"body":"I found that I couldn't mount a DropDownMenu and have it automatically be open, or programmatically open it myself, so I propose the following additions to DropDownMenu:\r\n\r\n- Adds `isOpen()`, `open()`, and `close()` methods.\r\n- Adds `openImmediately` boolean property.","created_at":"2015-09-18T18:45:15Z","updated_at":"2015-09-19T12:16:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b8c5e2af97a32d0214af22aa13b9fc983beee674","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/callemall/material-ui/pulls/1677/commits","review_comments_url":"https://api.github.com/repos/callemall/material-ui/pulls/1677/comments","review_comment_url":"https://api.github.com/repos/callemall/material-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/callemall/material-ui/issues/1677/comments","statuses_url":"https://api.github.com/repos/callemall/material-ui/statuses/17a77866c46cf76477eb4e855c6bdea9f6aa1739","head":{"label":"MrLeebo:open-dropdownmenu","ref":"open-dropdownmenu","sha":"17a77866c46cf76477eb4e855c6bdea9f6aa1739","user":{"login":"MrLeebo","id":2754163,"avatar_url":"https://avatars.githubusercontent.com/u/2754163?v=3","gravatar_id":"","url":"https://api.github.com/users/MrLeebo","html_url":"https://github.com/MrLeebo","followers_url":"https://api.github.com/users/MrLeebo/followers","following_url":"https://api.github.com/users/MrLeebo/following{/other_user}","gists_url":"https://api.github.com/users/MrLeebo/gists{/gist_id}","starred_url":"https://api.github.com/users/MrLeebo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrLeebo/subscriptions","organizations_url":"https://api.github.com/users/MrLeebo/orgs","repos_url":"https://api.github.com/users/MrLeebo/repos","events_url":"https://api.github.com/users/MrLeebo/events{/privacy}","received_events_url":"https://api.github.com/users/MrLeebo/received_events","type":"User","site_admin":false},"repo":{"id":42740394,"name":"material-ui","full_name":"MrLeebo/material-ui","owner":{"login":"MrLeebo","id":2754163,"avatar_url":"https://avatars.githubusercontent.com/u/2754163?v=3","gravatar_id":"","url":"https://api.github.com/users/MrLeebo","html_url":"https://github.com/MrLeebo","followers_url":"https://api.github.com/users/MrLeebo/followers","following_url":"https://api.github.com/users/MrLeebo/following{/other_user}","gists_url":"https://api.github.com/users/MrLeebo/gists{/gist_id}","starred_url":"https://api.github.com/users/MrLeebo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrLeebo/subscriptions","organizations_url":"https://api.github.com/users/MrLeebo/orgs","repos_url":"https://api.github.com/users/MrLeebo/repos","events_url":"https://api.github.com/users/MrLeebo/events{/privacy}","received_events_url":"https://api.github.com/users/MrLeebo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MrLeebo/material-ui","description":"React Components that Implement Google's Material Design.","fork":true,"url":"https://api.github.com/repos/MrLeebo/material-ui","forks_url":"https://api.github.com/repos/MrLeebo/material-ui/forks","keys_url":"https://api.github.com/repos/MrLeebo/material-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MrLeebo/material-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MrLeebo/material-ui/teams","hooks_url":"https://api.github.com/repos/MrLeebo/material-ui/hooks","issue_events_url":"https://api.github.com/repos/MrLeebo/material-ui/issues/events{/number}","events_url":"https://api.github.com/repos/MrLeebo/material-ui/events","assignees_url":"https://api.github.com/repos/MrLeebo/material-ui/assignees{/user}","branches_url":"https://api.github.com/repos/MrLeebo/material-ui/branches{/branch}","tags_url":"https://api.github.com/repos/MrLeebo/material-ui/tags","blobs_url":"https://api.github.com/repos/MrLeebo/material-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MrLeebo/material-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MrLeebo/material-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/MrLeebo/material-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MrLeebo/material-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/MrLeebo/material-ui/languages","stargazers_url":"https://api.github.com/repos/MrLeebo/material-ui/stargazers","contributors_url":"https://api.github.com/repos/MrLeebo/material-ui/contributors","subscribers_url":"https://api.github.com/repos/MrLeebo/material-ui/subscribers","subscription_url":"https://api.github.com/repos/MrLeebo/material-ui/subscription","commits_url":"https://api.github.com/repos/MrLeebo/material-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/MrLeebo/material-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/MrLeebo/material-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/MrLeebo/material-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/MrLeebo/material-ui/contents/{+path}","compare_url":"https://api.github.com/repos/MrLeebo/material-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MrLeebo/material-ui/merges","archive_url":"https://api.github.com/repos/MrLeebo/material-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MrLeebo/material-ui/downloads","issues_url":"https://api.github.com/repos/MrLeebo/material-ui/issues{/number}","pulls_url":"https://api.github.com/repos/MrLeebo/material-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/MrLeebo/material-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/MrLeebo/material-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MrLeebo/material-ui/labels{/name}","releases_url":"https://api.github.com/repos/MrLeebo/material-ui/releases{/id}","created_at":"2015-09-18T18:33:10Z","updated_at":"2015-09-18T18:33:12Z","pushed_at":"2015-09-18T19:21:53Z","git_url":"git://github.com/MrLeebo/material-ui.git","ssh_url":"git@github.com:MrLeebo/material-ui.git","clone_url":"https://github.com/MrLeebo/material-ui.git","svn_url":"https://github.com/MrLeebo/material-ui","homepage":"http://material-ui.com","size":26099,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"callemall:master","ref":"master","sha":"90c256eb675d54b5e820e6fbfa7de4475a54e89b","user":{"login":"callemall","id":1262264,"avatar_url":"https://avatars.githubusercontent.com/u/1262264?v=3","gravatar_id":"","url":"https://api.github.com/users/callemall","html_url":"https://github.com/callemall","followers_url":"https://api.github.com/users/callemall/followers","following_url":"https://api.github.com/users/callemall/following{/other_user}","gists_url":"https://api.github.com/users/callemall/gists{/gist_id}","starred_url":"https://api.github.com/users/callemall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callemall/subscriptions","organizations_url":"https://api.github.com/users/callemall/orgs","repos_url":"https://api.github.com/users/callemall/repos","events_url":"https://api.github.com/users/callemall/events{/privacy}","received_events_url":"https://api.github.com/users/callemall/received_events","type":"Organization","site_admin":false},"repo":{"id":23083156,"name":"material-ui","full_name":"callemall/material-ui","owner":{"login":"callemall","id":1262264,"avatar_url":"https://avatars.githubusercontent.com/u/1262264?v=3","gravatar_id":"","url":"https://api.github.com/users/callemall","html_url":"https://github.com/callemall","followers_url":"https://api.github.com/users/callemall/followers","following_url":"https://api.github.com/users/callemall/following{/other_user}","gists_url":"https://api.github.com/users/callemall/gists{/gist_id}","starred_url":"https://api.github.com/users/callemall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callemall/subscriptions","organizations_url":"https://api.github.com/users/callemall/orgs","repos_url":"https://api.github.com/users/callemall/repos","events_url":"https://api.github.com/users/callemall/events{/privacy}","received_events_url":"https://api.github.com/users/callemall/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/callemall/material-ui","description":"React Components that Implement Google's Material Design.","fork":false,"url":"https://api.github.com/repos/callemall/material-ui","forks_url":"https://api.github.com/repos/callemall/material-ui/forks","keys_url":"https://api.github.com/repos/callemall/material-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/callemall/material-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/callemall/material-ui/teams","hooks_url":"https://api.github.com/repos/callemall/material-ui/hooks","issue_events_url":"https://api.github.com/repos/callemall/material-ui/issues/events{/number}","events_url":"https://api.github.com/repos/callemall/material-ui/events","assignees_url":"https://api.github.com/repos/callemall/material-ui/assignees{/user}","branches_url":"https://api.github.com/repos/callemall/material-ui/branches{/branch}","tags_url":"https://api.github.com/repos/callemall/material-ui/tags","blobs_url":"https://api.github.com/repos/callemall/material-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/callemall/material-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/callemall/material-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/callemall/material-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/callemall/material-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/callemall/material-ui/languages","stargazers_url":"https://api.github.com/repos/callemall/material-ui/stargazers","contributors_url":"https://api.github.com/repos/callemall/material-ui/contributors","subscribers_url":"https://api.github.com/repos/callemall/material-ui/subscribers","subscription_url":"https://api.github.com/repos/callemall/material-ui/subscription","commits_url":"https://api.github.com/repos/callemall/material-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/callemall/material-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/callemall/material-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/callemall/material-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/callemall/material-ui/contents/{+path}","compare_url":"https://api.github.com/repos/callemall/material-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/callemall/material-ui/merges","archive_url":"https://api.github.com/repos/callemall/material-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/callemall/material-ui/downloads","issues_url":"https://api.github.com/repos/callemall/material-ui/issues{/number}","pulls_url":"https://api.github.com/repos/callemall/material-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/callemall/material-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/callemall/material-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/callemall/material-ui/labels{/name}","releases_url":"https://api.github.com/repos/callemall/material-ui/releases{/id}","created_at":"2014-08-18T19:11:54Z","updated_at":"2015-09-19T09:24:11Z","pushed_at":"2015-09-19T03:52:45Z","git_url":"git://github.com/callemall/material-ui.git","ssh_url":"git@github.com:callemall/material-ui.git","clone_url":"https://github.com/callemall/material-ui.git","svn_url":"https://github.com/callemall/material-ui","homepage":"http://material-ui.com","size":36933,"stargazers_count":10598,"watchers_count":10598,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1600,"mirror_url":null,"open_issues_count":466,"forks":1600,"open_issues":466,"watchers":10598,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/callemall/material-ui/pulls/1677"},"html":{"href":"https://github.com/callemall/material-ui/pull/1677"},"issue":{"href":"https://api.github.com/repos/callemall/material-ui/issues/1677"},"comments":{"href":"https://api.github.com/repos/callemall/material-ui/issues/1677/comments"},"review_comments":{"href":"https://api.github.com/repos/callemall/material-ui/pulls/1677/comments"},"review_comment":{"href":"https://api.github.com/repos/callemall/material-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/callemall/material-ui/pulls/1677/commits"},"statuses":{"href":"https://api.github.com/repos/callemall/material-ui/statuses/17a77866c46cf76477eb4e855c6bdea9f6aa1739"}}}}