{"action":"created","issue":{"url":"https://api.github.com/repos/arvidkahl/vue-json-tree-view/issues/8","repository_url":"https://api.github.com/repos/arvidkahl/vue-json-tree-view","labels_url":"https://api.github.com/repos/arvidkahl/vue-json-tree-view/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/arvidkahl/vue-json-tree-view/issues/8/comments","events_url":"https://api.github.com/repos/arvidkahl/vue-json-tree-view/issues/8/events","html_url":"https://github.com/arvidkahl/vue-json-tree-view/issues/8","id":223787241,"number":8,"title":"Select Node Event","user":{"login":"wintergithub","id":2382425,"avatar_url":"https://avatars3.githubusercontent.com/u/2382425?v=3","gravatar_id":"","url":"https://api.github.com/users/wintergithub","html_url":"https://github.com/wintergithub","followers_url":"https://api.github.com/users/wintergithub/followers","following_url":"https://api.github.com/users/wintergithub/following{/other_user}","gists_url":"https://api.github.com/users/wintergithub/gists{/gist_id}","starred_url":"https://api.github.com/users/wintergithub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wintergithub/subscriptions","organizations_url":"https://api.github.com/users/wintergithub/orgs","repos_url":"https://api.github.com/users/wintergithub/repos","events_url":"https://api.github.com/users/wintergithub/events{/privacy}","received_events_url":"https://api.github.com/users/wintergithub/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-24T11:25:55Z","updated_at":"2017-04-24T12:17:37Z","closed_at":null,"body":"Hi, is there any way to get the node data which I clicked ?\r\nI used $emit method but it not work."},"comment":{"url":"https://api.github.com/repos/arvidkahl/vue-json-tree-view/issues/comments/296643830","html_url":"https://github.com/arvidkahl/vue-json-tree-view/issues/8#issuecomment-296643830","issue_url":"https://api.github.com/repos/arvidkahl/vue-json-tree-view/issues/8","id":296643830,"user":{"login":"arvidkahl","id":954549,"avatar_url":"https://avatars3.githubusercontent.com/u/954549?v=3","gravatar_id":"","url":"https://api.github.com/users/arvidkahl","html_url":"https://github.com/arvidkahl","followers_url":"https://api.github.com/users/arvidkahl/followers","following_url":"https://api.github.com/users/arvidkahl/following{/other_user}","gists_url":"https://api.github.com/users/arvidkahl/gists{/gist_id}","starred_url":"https://api.github.com/users/arvidkahl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arvidkahl/subscriptions","organizations_url":"https://api.github.com/users/arvidkahl/orgs","repos_url":"https://api.github.com/users/arvidkahl/repos","events_url":"https://api.github.com/users/arvidkahl/events{/privacy}","received_events_url":"https://api.github.com/users/arvidkahl/received_events","type":"User","site_admin":false},"created_at":"2017-04-24T12:17:37Z","updated_at":"2017-04-24T12:17:37Z","body":"Where did you emit that event? Can you show some code?\r\n\r\nI would add a `@click=\"handleClick\"` attribute to the `class=\"tree-view-item-leaf` div. The method itself would then need a Vue instance to $emit the event on. I wrote a blogpost about Event Buses in vue at https://devblog.digimondo.io/building-a-simple-eventbus-in-vue-js-64b70fb90834#.oc8r04by9 . Maybe use that."}}
{"actor":{"display_login":"arvidkahl"}}