{"action":"created","issue":{"url":"https://api.github.com/repos/ghcjs/ghcjs-vdom/issues/5","labels_url":"https://api.github.com/repos/ghcjs/ghcjs-vdom/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/ghcjs/ghcjs-vdom/issues/5/comments","events_url":"https://api.github.com/repos/ghcjs/ghcjs-vdom/issues/5/events","html_url":"https://github.com/ghcjs/ghcjs-vdom/issues/5","id":61782456,"number":5,"title":"support for attaching event handler to virtual-dom ","user":{"login":"wavewave","id":1031119,"avatar_url":"https://avatars.githubusercontent.com/u/1031119?v=3","gravatar_id":"","url":"https://api.github.com/users/wavewave","html_url":"https://github.com/wavewave","followers_url":"https://api.github.com/users/wavewave/followers","following_url":"https://api.github.com/users/wavewave/following{/other_user}","gists_url":"https://api.github.com/users/wavewave/gists{/gist_id}","starred_url":"https://api.github.com/users/wavewave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wavewave/subscriptions","organizations_url":"https://api.github.com/users/wavewave/orgs","repos_url":"https://api.github.com/users/wavewave/repos","events_url":"https://api.github.com/users/wavewave/events{/privacy}","received_events_url":"https://api.github.com/users/wavewave/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-15T09:30:24Z","updated_at":"2015-03-15T09:31:56Z","closed_at":null,"body":"The newest version of `virtual-dom` supports event handling using [dom-delegator](http://github.com/Raynos/dom-delegator) library. Here is a nice writeup on the inner-working of `virtual-dom` and `dom-delegator` which is used in the `mercury` MVC framework : Raynos/mercury#151\r\n\r\nI started implementing FFI binding to `dom-delegator` in http://github.com/wavewave/ghcjs-dom-delegator\r\nI will keep my progress posted here. "},"comment":{"url":"https://api.github.com/repos/ghcjs/ghcjs-vdom/issues/comments/80934437","html_url":"https://github.com/ghcjs/ghcjs-vdom/issues/5#issuecomment-80934437","issue_url":"https://api.github.com/repos/ghcjs/ghcjs-vdom/issues/5","id":80934437,"user":{"login":"wavewave","id":1031119,"avatar_url":"https://avatars.githubusercontent.com/u/1031119?v=3","gravatar_id":"","url":"https://api.github.com/users/wavewave","html_url":"https://github.com/wavewave","followers_url":"https://api.github.com/users/wavewave/followers","following_url":"https://api.github.com/users/wavewave/following{/other_user}","gists_url":"https://api.github.com/users/wavewave/gists{/gist_id}","starred_url":"https://api.github.com/users/wavewave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wavewave/subscriptions","organizations_url":"https://api.github.com/users/wavewave/orgs","repos_url":"https://api.github.com/users/wavewave/repos","events_url":"https://api.github.com/users/wavewave/events{/privacy}","received_events_url":"https://api.github.com/users/wavewave/received_events","type":"User","site_admin":false},"created_at":"2015-03-15T09:31:56Z","updated_at":"2015-03-15T09:31:56Z","body":"I also created a pull request #4 making ghcjs-vdom compatible with the newest `virtual-dom` (2.0.1 as of now) "}}