{"action":"created","issue":{"url":"https://api.github.com/repos/hzdg/react-imageloader/issues/27","labels_url":"https://api.github.com/repos/hzdg/react-imageloader/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/hzdg/react-imageloader/issues/27/comments","events_url":"https://api.github.com/repos/hzdg/react-imageloader/issues/27/events","html_url":"https://github.com/hzdg/react-imageloader/issues/27","id":113008075,"number":27,"title":"Not support any events","user":{"login":"Volodymyr128","id":11560341,"avatar_url":"https://avatars.githubusercontent.com/u/11560341?v=3","gravatar_id":"","url":"https://api.github.com/users/Volodymyr128","html_url":"https://github.com/Volodymyr128","followers_url":"https://api.github.com/users/Volodymyr128/followers","following_url":"https://api.github.com/users/Volodymyr128/following{/other_user}","gists_url":"https://api.github.com/users/Volodymyr128/gists{/gist_id}","starred_url":"https://api.github.com/users/Volodymyr128/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Volodymyr128/subscriptions","organizations_url":"https://api.github.com/users/Volodymyr128/orgs","repos_url":"https://api.github.com/users/Volodymyr128/repos","events_url":"https://api.github.com/users/Volodymyr128/events{/privacy}","received_events_url":"https://api.github.com/users/Volodymyr128/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-23T12:14:32Z","updated_at":"2015-10-27T17:24:45Z","closed_at":null,"body":"You can't pass smth like `onClick` handler, which means you need to wrap `ImageLoader` element. Which is too complex/ugly for sucjh simple task"},"comment":{"url":"https://api.github.com/repos/hzdg/react-imageloader/issues/comments/151577062","html_url":"https://github.com/hzdg/react-imageloader/issues/27#issuecomment-151577062","issue_url":"https://api.github.com/repos/hzdg/react-imageloader/issues/27","id":151577062,"user":{"login":"vinnymac","id":1832781,"avatar_url":"https://avatars.githubusercontent.com/u/1832781?v=3","gravatar_id":"","url":"https://api.github.com/users/vinnymac","html_url":"https://github.com/vinnymac","followers_url":"https://api.github.com/users/vinnymac/followers","following_url":"https://api.github.com/users/vinnymac/following{/other_user}","gists_url":"https://api.github.com/users/vinnymac/gists{/gist_id}","starred_url":"https://api.github.com/users/vinnymac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinnymac/subscriptions","organizations_url":"https://api.github.com/users/vinnymac/orgs","repos_url":"https://api.github.com/users/vinnymac/repos","events_url":"https://api.github.com/users/vinnymac/events{/privacy}","received_events_url":"https://api.github.com/users/vinnymac/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T17:24:45Z","updated_at":"2015-10-27T17:24:45Z","body":"@Volodymyr128 yes you can.\r\n\r\n```\r\nReact.createClass({\r\n  render() {\r\n    imgProps = {\r\n      onClick : function() { \r\n        console.log(\"lulz\"); \r\n      }\r\n    };\r\n  \r\n    return (\r\n      <ImageLoader \r\n        src      = \"catlulz.gif\"\r\n        imgProps = {imgProps}\r\n      />\r\n    );\r\n  }\r\n})\r\n```"}}