{"action":"created","comment":{"url":"https://api.github.com/repos/aspnet/Blazor/pulls/comments/187733076","pull_request_review_id":119579994,"id":187733076,"diff_hunk":"@@ -69,18 +74,137 @@\n       case 'pointerout':\n       case 'pointerover':\n       case 'pointerup':\n-        return new EventForDotNet<UIPointerEventArgs>('pointer', { Type: event.type });\n+        return new EventForDotNet<UIPointerEventArgs>('pointer', parsePointerEvent(event));\n \n+      case 'wheel':\n       case 'mousewheel':\n-        return new EventForDotNet<UIWheelEventArgs>('wheel', { Type: event.type });\n-\n+        return new EventForDotNet<UIWheelEventArgs>('wheel', parseWheelEvent(event));\n \n       default:\n-        return new EventForDotNet<UIEventArgs>('unknown', { Type: event.type });\n+        return new EventForDotNet<UIEventArgs>('unknown', { type: event.type });\n     }\n   }\n }\n \n+function parseDragEvent(event: any) {\n+  return {\n+    type: event.type,\n+    detail: event.detail,\n+    dataTransfer: event.dataTransfer,\n+    screenX: event.screenX,\n+    screenY: event.screenY,\n+    clientX: event.clientX,\n+    clientY: event.clientY,\n+    button: event.button,\n+    buttons: event.buttons,\n+    mozPressure: event.mozPressure,","path":"src/Microsoft.AspNetCore.Blazor.Browser.JS/src/Rendering/EventForDotNet.ts","position":106,"original_position":106,"commit_id":"fdabef75b9fa2eeae06f037d80e21e58bace9333","original_commit_id":"fdabef75b9fa2eeae06f037d80e21e58bace9333","user":{"login":"galvesribeiro","id":4714040,"avatar_url":"https://avatars3.githubusercontent.com/u/4714040?v=4","gravatar_id":"","url":"https://api.github.com/users/galvesribeiro","html_url":"https://github.com/galvesribeiro","followers_url":"https://api.github.com/users/galvesribeiro/followers","following_url":"https://api.github.com/users/galvesribeiro/following{/other_user}","gists_url":"https://api.github.com/users/galvesribeiro/gists{/gist_id}","starred_url":"https://api.github.com/users/galvesribeiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galvesribeiro/subscriptions","organizations_url":"https://api.github.com/users/galvesribeiro/orgs","repos_url":"https://api.github.com/users/galvesribeiro/repos","events_url":"https://api.github.com/users/galvesribeiro/events{/privacy}","received_events_url":"https://api.github.com/users/galvesribeiro/received_events","type":"User","site_admin":false},"body":"Fixing.","created_at":"2018-05-11T21:05:31Z","updated_at":"2018-05-11T21:05:31Z","html_url":"https://github.com/aspnet/Blazor/pull/771#discussion_r187733076","pull_request_url":"https://api.github.com/repos/aspnet/Blazor/pulls/771","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/aspnet/Blazor/pulls/comments/187733076"},"html":{"href":"https://github.com/aspnet/Blazor/pull/771#discussion_r187733076"},"pull_request":{"href":"https://api.github.com/repos/aspnet/Blazor/pulls/771"}},"in_reply_to_id":187732831},"pull_request":{"url":"https://api.github.com/repos/aspnet/Blazor/pulls/771","id":186167437,"html_url":"https://github.com/aspnet/Blazor/pull/771","diff_url":"https://github.com/aspnet/Blazor/pull/771.diff","patch_url":"https://github.com/aspnet/Blazor/pull/771.patch","issue_url":"https://api.github.com/repos/aspnet/Blazor/issues/771","number":771,"state":"open","locked":false,"title":"Event payload","user":{"login":"galvesribeiro","id":4714040,"avatar_url":"https://avatars3.githubusercontent.com/u/4714040?v=4","gravatar_id":"","url":"https://api.github.com/users/galvesribeiro","html_url":"https://github.com/galvesribeiro","followers_url":"https://api.github.com/users/galvesribeiro/followers","following_url":"https://api.github.com/users/galvesribeiro/following{/other_user}","gists_url":"https://api.github.com/users/galvesribeiro/gists{/gist_id}","starred_url":"https://api.github.com/users/galvesribeiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galvesribeiro/subscriptions","organizations_url":"https://api.github.com/users/galvesribeiro/orgs","repos_url":"https://api.github.com/users/galvesribeiro/repos","events_url":"https://api.github.com/users/galvesribeiro/events{/privacy}","received_events_url":"https://api.github.com/users/galvesribeiro/received_events","type":"User","site_admin":false},"body":"Enhanced DOM events with proper payload.\r\n\r\nEvery commit comes with a particular (or set of related) event(s). \r\n\r\nI'll rebase/reset once the review is over.\r\n\r\n~~Blockers:~~\r\n\r\n~~- Touch events are blocked by #776~~","created_at":"2018-05-05T17:37:35Z","updated_at":"2018-05-11T21:05:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ec876011a7d33b3f59a93ac907efa452f8c24a9b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/aspnet/Blazor/pulls/771/commits","review_comments_url":"https://api.github.com/repos/aspnet/Blazor/pulls/771/comments","review_comment_url":"https://api.github.com/repos/aspnet/Blazor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aspnet/Blazor/issues/771/comments","statuses_url":"https://api.github.com/repos/aspnet/Blazor/statuses/fdabef75b9fa2eeae06f037d80e21e58bace9333","head":{"label":"galvesribeiro:event-payload","ref":"event-payload","sha":"fdabef75b9fa2eeae06f037d80e21e58bace9333","user":{"login":"galvesribeiro","id":4714040,"avatar_url":"https://avatars3.githubusercontent.com/u/4714040?v=4","gravatar_id":"","url":"https://api.github.com/users/galvesribeiro","html_url":"https://github.com/galvesribeiro","followers_url":"https://api.github.com/users/galvesribeiro/followers","following_url":"https://api.github.com/users/galvesribeiro/following{/other_user}","gists_url":"https://api.github.com/users/galvesribeiro/gists{/gist_id}","starred_url":"https://api.github.com/users/galvesribeiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galvesribeiro/subscriptions","organizations_url":"https://api.github.com/users/galvesribeiro/orgs","repos_url":"https://api.github.com/users/galvesribeiro/repos","events_url":"https://api.github.com/users/galvesribeiro/events{/privacy}","received_events_url":"https://api.github.com/users/galvesribeiro/received_events","type":"User","site_admin":false},"repo":{"id":132198399,"name":"Blazor","full_name":"galvesribeiro/Blazor","owner":{"login":"galvesribeiro","id":4714040,"avatar_url":"https://avatars3.githubusercontent.com/u/4714040?v=4","gravatar_id":"","url":"https://api.github.com/users/galvesribeiro","html_url":"https://github.com/galvesribeiro","followers_url":"https://api.github.com/users/galvesribeiro/followers","following_url":"https://api.github.com/users/galvesribeiro/following{/other_user}","gists_url":"https://api.github.com/users/galvesribeiro/gists{/gist_id}","starred_url":"https://api.github.com/users/galvesribeiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galvesribeiro/subscriptions","organizations_url":"https://api.github.com/users/galvesribeiro/orgs","repos_url":"https://api.github.com/users/galvesribeiro/repos","events_url":"https://api.github.com/users/galvesribeiro/events{/privacy}","received_events_url":"https://api.github.com/users/galvesribeiro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/galvesribeiro/Blazor","description":"Blazor is an experimental .NET web framework using C#/Razor and HTML that runs in the browser with WebAssembly","fork":true,"url":"https://api.github.com/repos/galvesribeiro/Blazor","forks_url":"https://api.github.com/repos/galvesribeiro/Blazor/forks","keys_url":"https://api.github.com/repos/galvesribeiro/Blazor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/galvesribeiro/Blazor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/galvesribeiro/Blazor/teams","hooks_url":"https://api.github.com/repos/galvesribeiro/Blazor/hooks","issue_events_url":"https://api.github.com/repos/galvesribeiro/Blazor/issues/events{/number}","events_url":"https://api.github.com/repos/galvesribeiro/Blazor/events","assignees_url":"https://api.github.com/repos/galvesribeiro/Blazor/assignees{/user}","branches_url":"https://api.github.com/repos/galvesribeiro/Blazor/branches{/branch}","tags_url":"https://api.github.com/repos/galvesribeiro/Blazor/tags","blobs_url":"https://api.github.com/repos/galvesribeiro/Blazor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/galvesribeiro/Blazor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/galvesribeiro/Blazor/git/refs{/sha}","trees_url":"https://api.github.com/repos/galvesribeiro/Blazor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/galvesribeiro/Blazor/statuses/{sha}","languages_url":"https://api.github.com/repos/galvesribeiro/Blazor/languages","stargazers_url":"https://api.github.com/repos/galvesribeiro/Blazor/stargazers","contributors_url":"https://api.github.com/repos/galvesribeiro/Blazor/contributors","subscribers_url":"https://api.github.com/repos/galvesribeiro/Blazor/subscribers","subscription_url":"https://api.github.com/repos/galvesribeiro/Blazor/subscription","commits_url":"https://api.github.com/repos/galvesribeiro/Blazor/commits{/sha}","git_commits_url":"https://api.github.com/repos/galvesribeiro/Blazor/git/commits{/sha}","comments_url":"https://api.github.com/repos/galvesribeiro/Blazor/comments{/number}","issue_comment_url":"https://api.github.com/repos/galvesribeiro/Blazor/issues/comments{/number}","contents_url":"https://api.github.com/repos/galvesribeiro/Blazor/contents/{+path}","compare_url":"https://api.github.com/repos/galvesribeiro/Blazor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/galvesribeiro/Blazor/merges","archive_url":"https://api.github.com/repos/galvesribeiro/Blazor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/galvesribeiro/Blazor/downloads","issues_url":"https://api.github.com/repos/galvesribeiro/Blazor/issues{/number}","pulls_url":"https://api.github.com/repos/galvesribeiro/Blazor/pulls{/number}","milestones_url":"https://api.github.com/repos/galvesribeiro/Blazor/milestones{/number}","notifications_url":"https://api.github.com/repos/galvesribeiro/Blazor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/galvesribeiro/Blazor/labels{/name}","releases_url":"https://api.github.com/repos/galvesribeiro/Blazor/releases{/id}","deployments_url":"https://api.github.com/repos/galvesribeiro/Blazor/deployments","created_at":"2018-05-04T23:33:30Z","updated_at":"2018-05-04T23:33:33Z","pushed_at":"2018-05-10T01:19:20Z","git_url":"git://github.com/galvesribeiro/Blazor.git","ssh_url":"git@github.com:galvesribeiro/Blazor.git","clone_url":"https://github.com/galvesribeiro/Blazor.git","svn_url":"https://github.com/galvesribeiro/Blazor","homepage":"","size":117069,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"aspnet:dev","ref":"dev","sha":"c2f3db9bf2028c35fc634ca97f589ec676c6f1a5","user":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars3.githubusercontent.com/u/6476660?v=4","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"repo":{"id":116160755,"name":"Blazor","full_name":"aspnet/Blazor","owner":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars3.githubusercontent.com/u/6476660?v=4","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aspnet/Blazor","description":"Blazor is an experimental .NET web framework using C#/Razor and HTML that runs in the browser with WebAssembly","fork":false,"url":"https://api.github.com/repos/aspnet/Blazor","forks_url":"https://api.github.com/repos/aspnet/Blazor/forks","keys_url":"https://api.github.com/repos/aspnet/Blazor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aspnet/Blazor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aspnet/Blazor/teams","hooks_url":"https://api.github.com/repos/aspnet/Blazor/hooks","issue_events_url":"https://api.github.com/repos/aspnet/Blazor/issues/events{/number}","events_url":"https://api.github.com/repos/aspnet/Blazor/events","assignees_url":"https://api.github.com/repos/aspnet/Blazor/assignees{/user}","branches_url":"https://api.github.com/repos/aspnet/Blazor/branches{/branch}","tags_url":"https://api.github.com/repos/aspnet/Blazor/tags","blobs_url":"https://api.github.com/repos/aspnet/Blazor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aspnet/Blazor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aspnet/Blazor/git/refs{/sha}","trees_url":"https://api.github.com/repos/aspnet/Blazor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aspnet/Blazor/statuses/{sha}","languages_url":"https://api.github.com/repos/aspnet/Blazor/languages","stargazers_url":"https://api.github.com/repos/aspnet/Blazor/stargazers","contributors_url":"https://api.github.com/repos/aspnet/Blazor/contributors","subscribers_url":"https://api.github.com/repos/aspnet/Blazor/subscribers","subscription_url":"https://api.github.com/repos/aspnet/Blazor/subscription","commits_url":"https://api.github.com/repos/aspnet/Blazor/commits{/sha}","git_commits_url":"https://api.github.com/repos/aspnet/Blazor/git/commits{/sha}","comments_url":"https://api.github.com/repos/aspnet/Blazor/comments{/number}","issue_comment_url":"https://api.github.com/repos/aspnet/Blazor/issues/comments{/number}","contents_url":"https://api.github.com/repos/aspnet/Blazor/contents/{+path}","compare_url":"https://api.github.com/repos/aspnet/Blazor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aspnet/Blazor/merges","archive_url":"https://api.github.com/repos/aspnet/Blazor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aspnet/Blazor/downloads","issues_url":"https://api.github.com/repos/aspnet/Blazor/issues{/number}","pulls_url":"https://api.github.com/repos/aspnet/Blazor/pulls{/number}","milestones_url":"https://api.github.com/repos/aspnet/Blazor/milestones{/number}","notifications_url":"https://api.github.com/repos/aspnet/Blazor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aspnet/Blazor/labels{/name}","releases_url":"https://api.github.com/repos/aspnet/Blazor/releases{/id}","deployments_url":"https://api.github.com/repos/aspnet/Blazor/deployments","created_at":"2018-01-03T16:53:27Z","updated_at":"2018-05-11T20:54:14Z","pushed_at":"2018-05-11T14:12:59Z","git_url":"git://github.com/aspnet/Blazor.git","ssh_url":"git@github.com:aspnet/Blazor.git","clone_url":"https://github.com/aspnet/Blazor.git","svn_url":"https://github.com/aspnet/Blazor","homepage":"","size":117044,"stargazers_count":4795,"watchers_count":4795,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":409,"mirror_url":null,"archived":false,"open_issues_count":131,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":409,"open_issues":131,"watchers":4795,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/aspnet/Blazor/pulls/771"},"html":{"href":"https://github.com/aspnet/Blazor/pull/771"},"issue":{"href":"https://api.github.com/repos/aspnet/Blazor/issues/771"},"comments":{"href":"https://api.github.com/repos/aspnet/Blazor/issues/771/comments"},"review_comments":{"href":"https://api.github.com/repos/aspnet/Blazor/pulls/771/comments"},"review_comment":{"href":"https://api.github.com/repos/aspnet/Blazor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aspnet/Blazor/pulls/771/commits"},"statuses":{"href":"https://api.github.com/repos/aspnet/Blazor/statuses/fdabef75b9fa2eeae06f037d80e21e58bace9333"}},"author_association":"NONE"}}
{"actor":{"display_login":"galvesribeiro"}}