{"action":"created","issue":{"url":"https://api.github.com/repos/holidayextras/ui-toolkit/issues/142","repository_url":"https://api.github.com/repos/holidayextras/ui-toolkit","labels_url":"https://api.github.com/repos/holidayextras/ui-toolkit/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/holidayextras/ui-toolkit/issues/142/comments","events_url":"https://api.github.com/repos/holidayextras/ui-toolkit/issues/142/events","html_url":"https://github.com/holidayextras/ui-toolkit/pull/142","id":152785419,"number":142,"title":"CON-1743: Add onLoad event handler for Image component","user":{"login":"rahulpatel","id":895843,"avatar_url":"https://avatars.githubusercontent.com/u/895843?v=3","gravatar_id":"","url":"https://api.github.com/users/rahulpatel","html_url":"https://github.com/rahulpatel","followers_url":"https://api.github.com/users/rahulpatel/followers","following_url":"https://api.github.com/users/rahulpatel/following{/other_user}","gists_url":"https://api.github.com/users/rahulpatel/gists{/gist_id}","starred_url":"https://api.github.com/users/rahulpatel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rahulpatel/subscriptions","organizations_url":"https://api.github.com/users/rahulpatel/orgs","repos_url":"https://api.github.com/users/rahulpatel/repos","events_url":"https://api.github.com/users/rahulpatel/events{/privacy}","received_events_url":"https://api.github.com/users/rahulpatel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-03T14:20:25Z","updated_at":"2016-05-03T14:35:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/holidayextras/ui-toolkit/pulls/142","html_url":"https://github.com/holidayextras/ui-toolkit/pull/142","diff_url":"https://github.com/holidayextras/ui-toolkit/pull/142.diff","patch_url":"https://github.com/holidayextras/ui-toolkit/pull/142.patch"},"body":"#### What does this PR do? (please provide any background)\r\nAdds a `handleLoad` prop to the Image component.\r\n\r\nThis is so that we're able to measure the first image load time in tripapp for when we move the parking tile to react.\r\n\r\n#### What tests does this PR have?\r\nI've added a couple tests to check that the `handleLoad` prop is called when the load event is triggered.\r\n\r\n#### How can this be tested?\r\nN/A\r\n\r\n#### Screenshots / Screencast\r\nN/A\r\n\r\n#### What gif best describes how you feel about this work?\r\n![](http://i.giphy.com/3oEduXvjS9dADoHxzW.gif)\r\n\r\n---\r\n\r\n- [x] I have checked our general [contributing document](https://github.com/holidayextras/culture/blob/master/CONTRIBUTING.md) and the project specific [contributing document](../blob/master/CONTRIBUTING.md) (if present) and I'm happy for this to be reviewed.\r\n\r\n#### Reviewers\r\n\r\n**Review 1**\r\n- [ ] :+1:\r\n\r\n**Review 2** \\*\r\n- [ ] :+1:\r\n\r\n**Review 3** _(optional)_\r\n- [ ] :+1:\r\n\r\nBy adding a +1 you are confirming you have...\r\n- Witnessed the work behaving as expected (this could be on the author's machine or screencast).\r\n- Checked for coding anti-patterns.\r\n- Checked for appropriate test coverage.\r\n- Checked all the tests are passing.\r\n\r\n\\*  for HX this review must be completed by an SE, SA or Project Guru"},"comment":{"url":"https://api.github.com/repos/holidayextras/ui-toolkit/issues/comments/216548769","html_url":"https://github.com/holidayextras/ui-toolkit/pull/142#issuecomment-216548769","issue_url":"https://api.github.com/repos/holidayextras/ui-toolkit/issues/142","id":216548769,"user":{"login":"jodiedoubleday","id":778942,"avatar_url":"https://avatars.githubusercontent.com/u/778942?v=3","gravatar_id":"","url":"https://api.github.com/users/jodiedoubleday","html_url":"https://github.com/jodiedoubleday","followers_url":"https://api.github.com/users/jodiedoubleday/followers","following_url":"https://api.github.com/users/jodiedoubleday/following{/other_user}","gists_url":"https://api.github.com/users/jodiedoubleday/gists{/gist_id}","starred_url":"https://api.github.com/users/jodiedoubleday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jodiedoubleday/subscriptions","organizations_url":"https://api.github.com/users/jodiedoubleday/orgs","repos_url":"https://api.github.com/users/jodiedoubleday/repos","events_url":"https://api.github.com/users/jodiedoubleday/events{/privacy}","received_events_url":"https://api.github.com/users/jodiedoubleday/received_events","type":"User","site_admin":false},"created_at":"2016-05-03T14:35:50Z","updated_at":"2016-05-03T14:35:50Z","body":"taking :v:"}}