{"action":"created","issue":{"url":"https://api.github.com/repos/zakangelle/react-password-mask/issues/21","repository_url":"https://api.github.com/repos/zakangelle/react-password-mask","labels_url":"https://api.github.com/repos/zakangelle/react-password-mask/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/zakangelle/react-password-mask/issues/21/comments","events_url":"https://api.github.com/repos/zakangelle/react-password-mask/issues/21/events","html_url":"https://github.com/zakangelle/react-password-mask/pull/21","id":260655942,"number":21,"title":"Added OnKeyDown Event as well as a class for the Icon","user":{"login":"lucidlemon","id":2458762,"avatar_url":"https://avatars1.githubusercontent.com/u/2458762?v=4","gravatar_id":"","url":"https://api.github.com/users/lucidlemon","html_url":"https://github.com/lucidlemon","followers_url":"https://api.github.com/users/lucidlemon/followers","following_url":"https://api.github.com/users/lucidlemon/following{/other_user}","gists_url":"https://api.github.com/users/lucidlemon/gists{/gist_id}","starred_url":"https://api.github.com/users/lucidlemon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucidlemon/subscriptions","organizations_url":"https://api.github.com/users/lucidlemon/orgs","repos_url":"https://api.github.com/users/lucidlemon/repos","events_url":"https://api.github.com/users/lucidlemon/events{/privacy}","received_events_url":"https://api.github.com/users/lucidlemon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-09-26T14:55:22Z","updated_at":"2017-10-04T18:59:47Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/zakangelle/react-password-mask/pulls/21","html_url":"https://github.com/zakangelle/react-password-mask/pull/21","diff_url":"https://github.com/zakangelle/react-password-mask/pull/21.diff","patch_url":"https://github.com/zakangelle/react-password-mask/pull/21.patch"},"body":"The onKeyDown is very useful for checking if the Enter key has been pressed (among other things), otherwise it's pretty hard to check if the user tried to submit the form using enter (afaik the onChange does not submit a keyCode).\r\n\r\nAlso adds a Class for the Icon, which makes external styling a lot easier. I don't think this should need too much explanation, it's lightweight and can make everything easier.\r\n\r\nfixes #16"},"comment":{"url":"https://api.github.com/repos/zakangelle/react-password-mask/issues/comments/334256806","html_url":"https://github.com/zakangelle/react-password-mask/pull/21#issuecomment-334256806","issue_url":"https://api.github.com/repos/zakangelle/react-password-mask/issues/21","id":334256806,"user":{"login":"zakangelle","id":1393139,"avatar_url":"https://avatars3.githubusercontent.com/u/1393139?v=4","gravatar_id":"","url":"https://api.github.com/users/zakangelle","html_url":"https://github.com/zakangelle","followers_url":"https://api.github.com/users/zakangelle/followers","following_url":"https://api.github.com/users/zakangelle/following{/other_user}","gists_url":"https://api.github.com/users/zakangelle/gists{/gist_id}","starred_url":"https://api.github.com/users/zakangelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zakangelle/subscriptions","organizations_url":"https://api.github.com/users/zakangelle/orgs","repos_url":"https://api.github.com/users/zakangelle/repos","events_url":"https://api.github.com/users/zakangelle/events{/privacy}","received_events_url":"https://api.github.com/users/zakangelle/received_events","type":"User","site_admin":false},"created_at":"2017-10-04T18:59:47Z","updated_at":"2017-10-04T18:59:47Z","author_association":"OWNER","body":"@lucidlemon Also README docs should be updated to reflect these changes and tests need to be updated as well."}}
{"actor":{"display_login":"zakangelle"}}