{"action":"created","issue":{"url":"https://api.github.com/repos/dekujs/deku/issues/157","labels_url":"https://api.github.com/repos/dekujs/deku/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/dekujs/deku/issues/157/comments","events_url":"https://api.github.com/repos/dekujs/deku/issues/157/events","html_url":"https://github.com/dekujs/deku/issues/157","id":84368433,"number":157,"title":"html5 attribute","user":{"login":"rhacker","id":2028062,"avatar_url":"https://avatars.githubusercontent.com/u/2028062?v=3","gravatar_id":"","url":"https://api.github.com/users/rhacker","html_url":"https://github.com/rhacker","followers_url":"https://api.github.com/users/rhacker/followers","following_url":"https://api.github.com/users/rhacker/following{/other_user}","gists_url":"https://api.github.com/users/rhacker/gists{/gist_id}","starred_url":"https://api.github.com/users/rhacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhacker/subscriptions","organizations_url":"https://api.github.com/users/rhacker/orgs","repos_url":"https://api.github.com/users/rhacker/repos","events_url":"https://api.github.com/users/rhacker/events{/privacy}","received_events_url":"https://api.github.com/users/rhacker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-03T05:20:32Z","updated_at":"2015-06-03T14:12:22Z","closed_at":null,"body":"Is there any way we can access html5 custom attribute through `event.target` in deku ? `event.target.attributes` is empty even the element has an attribute in it.\r\n\r\n```js\r\nfunction onClick(e, c) {\r\n   // empty\r\n   e.target.attributes\r\n}\r\n<button data-ok={false} onClick={onClick}>Submit</button>\r\n```"},"comment":{"url":"https://api.github.com/repos/dekujs/deku/issues/comments/108443922","html_url":"https://github.com/dekujs/deku/issues/157#issuecomment-108443922","issue_url":"https://api.github.com/repos/dekujs/deku/issues/157","id":108443922,"user":{"login":"anthonyshort","id":36125,"avatar_url":"https://avatars.githubusercontent.com/u/36125?v=3","gravatar_id":"","url":"https://api.github.com/users/anthonyshort","html_url":"https://github.com/anthonyshort","followers_url":"https://api.github.com/users/anthonyshort/followers","following_url":"https://api.github.com/users/anthonyshort/following{/other_user}","gists_url":"https://api.github.com/users/anthonyshort/gists{/gist_id}","starred_url":"https://api.github.com/users/anthonyshort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthonyshort/subscriptions","organizations_url":"https://api.github.com/users/anthonyshort/orgs","repos_url":"https://api.github.com/users/anthonyshort/repos","events_url":"https://api.github.com/users/anthonyshort/events{/privacy}","received_events_url":"https://api.github.com/users/anthonyshort/received_events","type":"User","site_admin":false},"created_at":"2015-06-03T14:12:22Z","updated_at":"2015-06-03T14:12:22Z","body":"Attributes with a false value aren't added to the element. This is so you can easily do things like hidden={false}. Try using a string"}}