{"action":"created","comment":{"url":"https://api.github.com/repos/angular/material/pulls/comments/59623684","id":59623684,"diff_hunk":"@@ -126,6 +126,16 @@ angular\n  *   - `animation` - `{MdPanelAnimation=}`: An MdPanelAnimation object that\n  *     specifies the animation of the panel. For more information, see\n  *     `MdPanelAnimation`.\n+ *   - `onDomAdded` - `{function=}`: Callback function used to announce when\n+ *     the panel is added to the DOM. This function needs to return a promise","path":"src/components/panel/panel.js","position":5,"original_position":5,"commit_id":"e58f3629ec98a1112f4f84a27263e97fa397ee97","original_commit_id":"e58f3629ec98a1112f4f84a27263e97fa397ee97","user":{"login":"ErinCoughlan","id":2660421,"avatar_url":"https://avatars.githubusercontent.com/u/2660421?v=3","gravatar_id":"","url":"https://api.github.com/users/ErinCoughlan","html_url":"https://github.com/ErinCoughlan","followers_url":"https://api.github.com/users/ErinCoughlan/followers","following_url":"https://api.github.com/users/ErinCoughlan/following{/other_user}","gists_url":"https://api.github.com/users/ErinCoughlan/gists{/gist_id}","starred_url":"https://api.github.com/users/ErinCoughlan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErinCoughlan/subscriptions","organizations_url":"https://api.github.com/users/ErinCoughlan/orgs","repos_url":"https://api.github.com/users/ErinCoughlan/repos","events_url":"https://api.github.com/users/ErinCoughlan/events{/privacy}","received_events_url":"https://api.github.com/users/ErinCoughlan/received_events","type":"User","site_admin":false},"body":"We shouldn't require the user to return a promise. We can wrap their function response in one so chaining will still work on our end.","created_at":"2016-04-13T20:54:43Z","updated_at":"2016-04-13T20:54:43Z","html_url":"https://github.com/angular/material/pull/8024#discussion_r59623684","pull_request_url":"https://api.github.com/repos/angular/material/pulls/8024","_links":{"self":{"href":"https://api.github.com/repos/angular/material/pulls/comments/59623684"},"html":{"href":"https://github.com/angular/material/pull/8024#discussion_r59623684"},"pull_request":{"href":"https://api.github.com/repos/angular/material/pulls/8024"}}},"pull_request":{"url":"https://api.github.com/repos/angular/material/pulls/8024","id":66365014,"html_url":"https://github.com/angular/material/pull/8024","diff_url":"https://github.com/angular/material/pull/8024.diff","patch_url":"https://github.com/angular/material/pull/8024.patch","issue_url":"https://api.github.com/repos/angular/material/issues/8024","number":8024,"state":"open","locked":false,"title":"feat(panel): Add onDomAdded, onOpenComplete, and onRemoving animation hooks.","user":{"login":"DerekLouie","id":709204,"avatar_url":"https://avatars.githubusercontent.com/u/709204?v=3","gravatar_id":"","url":"https://api.github.com/users/DerekLouie","html_url":"https://github.com/DerekLouie","followers_url":"https://api.github.com/users/DerekLouie/followers","following_url":"https://api.github.com/users/DerekLouie/following{/other_user}","gists_url":"https://api.github.com/users/DerekLouie/gists{/gist_id}","starred_url":"https://api.github.com/users/DerekLouie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DerekLouie/subscriptions","organizations_url":"https://api.github.com/users/DerekLouie/orgs","repos_url":"https://api.github.com/users/DerekLouie/repos","events_url":"https://api.github.com/users/DerekLouie/events{/privacy}","received_events_url":"https://api.github.com/users/DerekLouie/received_events","type":"User","site_admin":false},"body":"Fixes #7875.\r\n\r\n@gmoothart @ErinCoughlan @KarenParker @ThomasBurleson @jelbourn Please review.","created_at":"2016-04-13T18:02:56Z","updated_at":"2016-04-13T20:54:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"69bc607bab2206d5f0af3b95cac3096dcbe413f0","assignee":{"login":"DerekLouie","id":709204,"avatar_url":"https://avatars.githubusercontent.com/u/709204?v=3","gravatar_id":"","url":"https://api.github.com/users/DerekLouie","html_url":"https://github.com/DerekLouie","followers_url":"https://api.github.com/users/DerekLouie/followers","following_url":"https://api.github.com/users/DerekLouie/following{/other_user}","gists_url":"https://api.github.com/users/DerekLouie/gists{/gist_id}","starred_url":"https://api.github.com/users/DerekLouie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DerekLouie/subscriptions","organizations_url":"https://api.github.com/users/DerekLouie/orgs","repos_url":"https://api.github.com/users/DerekLouie/repos","events_url":"https://api.github.com/users/DerekLouie/events{/privacy}","received_events_url":"https://api.github.com/users/DerekLouie/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/angular/material/milestones/44","html_url":"https://github.com/angular/material/milestones/EOC%20-%20Q1","labels_url":"https://api.github.com/repos/angular/material/milestones/44/labels","id":1564353,"number":44,"title":"EOC - Q1","description":"Deliverables and target dates to be defined by Erin Coughlan.","creator":{"login":"ThomasBurleson","id":210413,"avatar_url":"https://avatars.githubusercontent.com/u/210413?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasBurleson","html_url":"https://github.com/ThomasBurleson","followers_url":"https://api.github.com/users/ThomasBurleson/followers","following_url":"https://api.github.com/users/ThomasBurleson/following{/other_user}","gists_url":"https://api.github.com/users/ThomasBurleson/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasBurleson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasBurleson/subscriptions","organizations_url":"https://api.github.com/users/ThomasBurleson/orgs","repos_url":"https://api.github.com/users/ThomasBurleson/repos","events_url":"https://api.github.com/users/ThomasBurleson/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasBurleson/received_events","type":"User","site_admin":false},"open_issues":23,"closed_issues":65,"state":"open","created_at":"2016-02-04T20:27:43Z","updated_at":"2016-04-13T18:33:50Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/angular/material/pulls/8024/commits","review_comments_url":"https://api.github.com/repos/angular/material/pulls/8024/comments","review_comment_url":"https://api.github.com/repos/angular/material/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular/material/issues/8024/comments","statuses_url":"https://api.github.com/repos/angular/material/statuses/e58f3629ec98a1112f4f84a27263e97fa397ee97","head":{"label":"DerekLouie:newFeatPanelAnimationHooks","ref":"newFeatPanelAnimationHooks","sha":"e58f3629ec98a1112f4f84a27263e97fa397ee97","user":{"login":"DerekLouie","id":709204,"avatar_url":"https://avatars.githubusercontent.com/u/709204?v=3","gravatar_id":"","url":"https://api.github.com/users/DerekLouie","html_url":"https://github.com/DerekLouie","followers_url":"https://api.github.com/users/DerekLouie/followers","following_url":"https://api.github.com/users/DerekLouie/following{/other_user}","gists_url":"https://api.github.com/users/DerekLouie/gists{/gist_id}","starred_url":"https://api.github.com/users/DerekLouie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DerekLouie/subscriptions","organizations_url":"https://api.github.com/users/DerekLouie/orgs","repos_url":"https://api.github.com/users/DerekLouie/repos","events_url":"https://api.github.com/users/DerekLouie/events{/privacy}","received_events_url":"https://api.github.com/users/DerekLouie/received_events","type":"User","site_admin":false},"repo":{"id":49235227,"name":"material","full_name":"DerekLouie/material","owner":{"login":"DerekLouie","id":709204,"avatar_url":"https://avatars.githubusercontent.com/u/709204?v=3","gravatar_id":"","url":"https://api.github.com/users/DerekLouie","html_url":"https://github.com/DerekLouie","followers_url":"https://api.github.com/users/DerekLouie/followers","following_url":"https://api.github.com/users/DerekLouie/following{/other_user}","gists_url":"https://api.github.com/users/DerekLouie/gists{/gist_id}","starred_url":"https://api.github.com/users/DerekLouie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DerekLouie/subscriptions","organizations_url":"https://api.github.com/users/DerekLouie/orgs","repos_url":"https://api.github.com/users/DerekLouie/repos","events_url":"https://api.github.com/users/DerekLouie/events{/privacy}","received_events_url":"https://api.github.com/users/DerekLouie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DerekLouie/material","description":"Material design for Angular","fork":true,"url":"https://api.github.com/repos/DerekLouie/material","forks_url":"https://api.github.com/repos/DerekLouie/material/forks","keys_url":"https://api.github.com/repos/DerekLouie/material/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DerekLouie/material/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DerekLouie/material/teams","hooks_url":"https://api.github.com/repos/DerekLouie/material/hooks","issue_events_url":"https://api.github.com/repos/DerekLouie/material/issues/events{/number}","events_url":"https://api.github.com/repos/DerekLouie/material/events","assignees_url":"https://api.github.com/repos/DerekLouie/material/assignees{/user}","branches_url":"https://api.github.com/repos/DerekLouie/material/branches{/branch}","tags_url":"https://api.github.com/repos/DerekLouie/material/tags","blobs_url":"https://api.github.com/repos/DerekLouie/material/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DerekLouie/material/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DerekLouie/material/git/refs{/sha}","trees_url":"https://api.github.com/repos/DerekLouie/material/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DerekLouie/material/statuses/{sha}","languages_url":"https://api.github.com/repos/DerekLouie/material/languages","stargazers_url":"https://api.github.com/repos/DerekLouie/material/stargazers","contributors_url":"https://api.github.com/repos/DerekLouie/material/contributors","subscribers_url":"https://api.github.com/repos/DerekLouie/material/subscribers","subscription_url":"https://api.github.com/repos/DerekLouie/material/subscription","commits_url":"https://api.github.com/repos/DerekLouie/material/commits{/sha}","git_commits_url":"https://api.github.com/repos/DerekLouie/material/git/commits{/sha}","comments_url":"https://api.github.com/repos/DerekLouie/material/comments{/number}","issue_comment_url":"https://api.github.com/repos/DerekLouie/material/issues/comments{/number}","contents_url":"https://api.github.com/repos/DerekLouie/material/contents/{+path}","compare_url":"https://api.github.com/repos/DerekLouie/material/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DerekLouie/material/merges","archive_url":"https://api.github.com/repos/DerekLouie/material/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DerekLouie/material/downloads","issues_url":"https://api.github.com/repos/DerekLouie/material/issues{/number}","pulls_url":"https://api.github.com/repos/DerekLouie/material/pulls{/number}","milestones_url":"https://api.github.com/repos/DerekLouie/material/milestones{/number}","notifications_url":"https://api.github.com/repos/DerekLouie/material/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DerekLouie/material/labels{/name}","releases_url":"https://api.github.com/repos/DerekLouie/material/releases{/id}","deployments_url":"https://api.github.com/repos/DerekLouie/material/deployments","created_at":"2016-01-07T22:40:39Z","updated_at":"2016-03-04T00:43:12Z","pushed_at":"2016-04-13T18:14:12Z","git_url":"git://github.com/DerekLouie/material.git","ssh_url":"git@github.com:DerekLouie/material.git","clone_url":"https://github.com/DerekLouie/material.git","svn_url":"https://github.com/DerekLouie/material","homepage":"https://material.angularjs.org/","size":59421,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"angular:feat/panel","ref":"feat/panel","sha":"659729f503e027bb40a29dc0ad3452cc4def0d61","user":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"repo":{"id":21399598,"name":"material","full_name":"angular/material","owner":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular/material","description":"Material design for Angular","fork":false,"url":"https://api.github.com/repos/angular/material","forks_url":"https://api.github.com/repos/angular/material/forks","keys_url":"https://api.github.com/repos/angular/material/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular/material/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular/material/teams","hooks_url":"https://api.github.com/repos/angular/material/hooks","issue_events_url":"https://api.github.com/repos/angular/material/issues/events{/number}","events_url":"https://api.github.com/repos/angular/material/events","assignees_url":"https://api.github.com/repos/angular/material/assignees{/user}","branches_url":"https://api.github.com/repos/angular/material/branches{/branch}","tags_url":"https://api.github.com/repos/angular/material/tags","blobs_url":"https://api.github.com/repos/angular/material/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular/material/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular/material/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular/material/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular/material/statuses/{sha}","languages_url":"https://api.github.com/repos/angular/material/languages","stargazers_url":"https://api.github.com/repos/angular/material/stargazers","contributors_url":"https://api.github.com/repos/angular/material/contributors","subscribers_url":"https://api.github.com/repos/angular/material/subscribers","subscription_url":"https://api.github.com/repos/angular/material/subscription","commits_url":"https://api.github.com/repos/angular/material/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular/material/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular/material/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular/material/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular/material/contents/{+path}","compare_url":"https://api.github.com/repos/angular/material/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular/material/merges","archive_url":"https://api.github.com/repos/angular/material/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular/material/downloads","issues_url":"https://api.github.com/repos/angular/material/issues{/number}","pulls_url":"https://api.github.com/repos/angular/material/pulls{/number}","milestones_url":"https://api.github.com/repos/angular/material/milestones{/number}","notifications_url":"https://api.github.com/repos/angular/material/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular/material/labels{/name}","releases_url":"https://api.github.com/repos/angular/material/releases{/id}","deployments_url":"https://api.github.com/repos/angular/material/deployments","created_at":"2014-07-01T19:20:06Z","updated_at":"2016-04-13T20:51:31Z","pushed_at":"2016-04-13T20:53:58Z","git_url":"git://github.com/angular/material.git","ssh_url":"git@github.com:angular/material.git","clone_url":"https://github.com/angular/material.git","svn_url":"https://github.com/angular/material","homepage":"https://material.angularjs.org/","size":79599,"stargazers_count":13226,"watchers_count":13226,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2636,"mirror_url":null,"open_issues_count":1726,"forks":2636,"open_issues":1726,"watchers":13226,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular/material/pulls/8024"},"html":{"href":"https://github.com/angular/material/pull/8024"},"issue":{"href":"https://api.github.com/repos/angular/material/issues/8024"},"comments":{"href":"https://api.github.com/repos/angular/material/issues/8024/comments"},"review_comments":{"href":"https://api.github.com/repos/angular/material/pulls/8024/comments"},"review_comment":{"href":"https://api.github.com/repos/angular/material/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular/material/pulls/8024/commits"},"statuses":{"href":"https://api.github.com/repos/angular/material/statuses/e58f3629ec98a1112f4f84a27263e97fa397ee97"}}}}