{"action":"created","issue":{"url":"https://api.github.com/repos/ractivejs/ractive/issues/3222","repository_url":"https://api.github.com/repos/ractivejs/ractive","labels_url":"https://api.github.com/repos/ractivejs/ractive/issues/3222/labels{/name}","comments_url":"https://api.github.com/repos/ractivejs/ractive/issues/3222/comments","events_url":"https://api.github.com/repos/ractivejs/ractive/issues/3222/events","html_url":"https://github.com/ractivejs/ractive/issues/3222","id":310442391,"number":3222,"title":"[Question] Is there anyway to call Ractive event from HTML DOM","user":{"login":"xilanhthanki","id":21329596,"avatar_url":"https://avatars2.githubusercontent.com/u/21329596?v=4","gravatar_id":"","url":"https://api.github.com/users/xilanhthanki","html_url":"https://github.com/xilanhthanki","followers_url":"https://api.github.com/users/xilanhthanki/followers","following_url":"https://api.github.com/users/xilanhthanki/following{/other_user}","gists_url":"https://api.github.com/users/xilanhthanki/gists{/gist_id}","starred_url":"https://api.github.com/users/xilanhthanki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xilanhthanki/subscriptions","organizations_url":"https://api.github.com/users/xilanhthanki/orgs","repos_url":"https://api.github.com/users/xilanhthanki/repos","events_url":"https://api.github.com/users/xilanhthanki/events{/privacy}","received_events_url":"https://api.github.com/users/xilanhthanki/received_events","type":"User","site_admin":false},"labels":[{"id":102238673,"url":"https://api.github.com/repos/ractivejs/ractive/labels/inquiry/pending%20clarification","name":"inquiry/pending clarification","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-02T09:41:50Z","updated_at":"2018-04-02T13:56:04Z","closed_at":null,"author_association":"NONE","body":"We recently upgrade version from 0.7 to 0.9.13\r\nBefore the upgrade, everything works fine.\r\n\r\nFor some reason, after using document.body.appendchild then all directives on-click not working anymore. While onclick still works. Don't know why.\r\nThe document.body.appendchild is written in decorator. \r\n\r\nI tried in your playground but everything works fine. So maybe the problem come from old source code.\r\n\r\nDidn't detect any problem. So do we have anyway to call Ractive event from DOM event such as onclick?\r\n\r\nThanks :D"},"comment":{"url":"https://api.github.com/repos/ractivejs/ractive/issues/comments/377934352","html_url":"https://github.com/ractivejs/ractive/issues/3222#issuecomment-377934352","issue_url":"https://api.github.com/repos/ractivejs/ractive/issues/3222","id":377934352,"user":{"login":"evs-chris","id":161978,"avatar_url":"https://avatars3.githubusercontent.com/u/161978?v=4","gravatar_id":"","url":"https://api.github.com/users/evs-chris","html_url":"https://github.com/evs-chris","followers_url":"https://api.github.com/users/evs-chris/followers","following_url":"https://api.github.com/users/evs-chris/following{/other_user}","gists_url":"https://api.github.com/users/evs-chris/gists{/gist_id}","starred_url":"https://api.github.com/users/evs-chris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evs-chris/subscriptions","organizations_url":"https://api.github.com/users/evs-chris/orgs","repos_url":"https://api.github.com/users/evs-chris/repos","events_url":"https://api.github.com/users/evs-chris/events{/privacy}","received_events_url":"https://api.github.com/users/evs-chris/received_events","type":"User","site_admin":false},"created_at":"2018-04-02T13:56:04Z","updated_at":"2018-04-02T13:56:04Z","author_association":"CONTRIBUTOR","body":"Also, are there any errors in the console?\r\n\r\nMy first guess would be that if you're manually rearranging dom, you may want to disable delegation globally with `Ractive.defaults.delegate = false` before your app instance is created."}}
{"actor":{"display_login":"evs-chris"}}